:root {
  color-scheme: dark;
}

html[data-theme="light"] {
  color-scheme: light;
  --_color---theme-color--body: rgba(15, 23, 42, 0.82);
  --_color---theme-color--heading: #0f172a;
  --_color---theme-color--menu-color-normal: rgba(15, 23, 42, 0.72);
  --_color---theme-color--menu-color-hover-acive: #0f172a;
  --_color---theme-color--body-background: #f7f9fc;
  --_color---base-color--white: #0f172a;
  --_color---base-color--transparent: transparent;
  --border-color--border-color-white-0-1: rgba(15, 23, 42, 0.09);
  --border-color--border-color-white-0-2: rgba(15, 23, 42, 0.13);
  --border-color--border-color-white-0-3: rgba(15, 23, 42, 0.22);
  --_color---theme-color--primary: #c86b2b;
  --_color---theme-color--secondary: #3b82f6;
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.16), transparent 30%),
    radial-gradient(circle at top right, rgba(200, 107, 43, 0.12), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 48%, #eef4fb 100%);
}

html[data-theme="light"] .body,
html[data-theme="light"] .main-header-1.header-sticky-1,
html[data-theme="light"] .main-footer-wrap,
html[data-theme="light"] .header-mobile,
html[data-theme="light"] .utility-page-form {
  background-color: transparent;
}

html[data-theme="light"] .heading-page-title,
html[data-theme="light"] .section-heading,
html[data-theme="light"] .sg-team-title,
html[data-theme="light"] .heading-h5,
html[data-theme="light"] .footer-heading-widget,
html[data-theme="light"] .testimonial-title,
html[data-theme="light"] .blog-card-title,
html[data-theme="light"] .license-title,
html[data-theme="light"] .form-password-heading,
html[data-theme="light"] .mobile-menu-item-text,
html[data-theme="light"] .text-logo,
html[data-theme="light"] .section-sub-title-inner,
html[data-theme="light"] .main-title,
html[data-theme="light"] .sub-title {
  color: #0f172a;
}

html[data-theme="light"] .description-page-title,
html[data-theme="light"] .section-description,
html[data-theme="light"] .text-standard,
html[data-theme="light"] .footer-desc-widget,
html[data-theme="light"] .cta-description,
html[data-theme="light"] .sg-team-bio,
html[data-theme="light"] .testimonial-description,
html[data-theme="light"] .list-link-text,
html[data-theme="light"] .copyright-text,
html[data-theme="light"] .form-password-description,
html[data-theme="light"] .progress-bar-title,
html[data-theme="light"] .progress-bar-percentage {
  color: rgba(15, 23, 42, 0.78);
}

html[data-theme="light"] .box-banner-image-1,
html[data-theme="light"] .team-main-image,
html[data-theme="light"] .blog-image,
html[data-theme="light"] .single-post-image,
html[data-theme="light"] .testimonial-image {
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .button-primary,
html[data-theme="light"] .button-dark-text {
  color: #fff;
}

html[data-theme="light"] .button-text-light,
html[data-theme="light"] .menu-item-link,
html[data-theme="light"] .menu-mobile-item-link {
  color: rgba(15, 23, 42, 0.72);
}

html[data-theme="light"] .button-text-light:hover,
html[data-theme="light"] .menu-item-link:hover,
html[data-theme="light"] .menu-item-link.w--current,
html[data-theme="light"] .menu-mobile-item-link:hover,
html[data-theme="light"] .menu-mobile-item-link.w--current {
  color: #0f172a;
}

html[data-theme="light"] .hamburger-menu-mobile {
  background-color: rgba(255, 255, 255, 0.8);
  border-color: rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(12px);
}

html[data-theme="light"] .hamburger-line-top,
html[data-theme="light"] .hamburger-line-middle,
html[data-theme="light"] .hamburger-line-bottom {
  background-color: #0f172a;
}

html[data-theme="light"] .glowing-background-one {
  background-color: rgba(255, 255, 255, 0.82);
}

html[data-theme="light"] .section-sub-title-inner {
  box-sizing: border-box;
  flex-wrap: nowrap;
  width: fit-content;
  max-width: calc(100vw - 32px);
  gap: 8px 10px;
  background-color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 14px;
  padding: 6px 12px 6px 6px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
}

html[data-theme="light"] .main-title {
  color: #0f172a;
  background-color: rgba(219, 234, 254, 0.95);
  border: 1px solid rgba(59, 130, 246, 0.2);
  line-height: 30px;
}

html[data-theme="light"] .sub-title {
  flex: 0 1 auto;
  min-width: 0;
  color: rgba(15, 23, 42, 0.74);
  margin-left: 0;
  white-space: nowrap;
  overflow-wrap: normal;
}

html[data-theme="light"] .section-sub-title-inner .glowing-wrap {
  opacity: 1;
}

html[data-theme="light"] .section-sub-title-inner .glowing-background-one,
html[data-theme="light"] .section-sub-title-inner .glowing-background-one.color-dark-1 {
  background-color: rgba(255, 255, 255, 0.86);
}

html[data-theme="light"] .section-sub-title-inner .glowing-background-two,
html[data-theme="light"] .section-sub-title-inner .glowing-background-two.color-dark-2 {
  background-color: rgba(239, 246, 255, 0.82);
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(219, 234, 254, 0.82));
}

html[data-theme="light"] .glowing-background-one.bg-2,
html[data-theme="light"] .glowing-background-one.bg-2.border-radius-lg {
  background-color: rgba(255, 248, 236, 0.92);
}

html[data-theme="light"] .glowing-background-two,
html[data-theme="light"] .button-background-gradient {
  filter: saturate(0.9) brightness(1.03);
}

html[data-theme="light"] .header-divider,
html[data-theme="light"] .footer-divider,
html[data-theme="light"] .divider-item,
html[data-theme="light"] .divider-horizontal,
html[data-theme="light"] .main-divider-3,
html[data-theme="light"] .menu-divider-lv1 {
  opacity: 0.4;
}

html[data-theme="light"] .progress-bar-bg,
html[data-theme="light"] .form-field-1,
html[data-theme="light"] .form-password-field {
  background-color: rgba(255, 255, 255, 0.72);
  border-color: rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .feature-item-1,
html[data-theme="light"] .sg-social-item,
html[data-theme="light"] .box-banner-content-1,
html[data-theme="light"] .testimonial-item,
html[data-theme="light"] .blog-card,
html[data-theme="light"] .team-item-1,
html[data-theme="light"] .single-team-content,
html[data-theme="light"] .section-footer-cta,
html[data-theme="light"] .footer-newsletter,
html[data-theme="light"] .footer-about,
html[data-theme="light"] .footer-links,
html[data-theme="light"] .box-pricing-item,
html[data-theme="light"] .section-box-contact,
html[data-theme="light"] .form-subscribe-1,
html[data-theme="light"] .single-post-content {
  background-color: rgba(255, 255, 255, 0.74);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

html[data-theme="light"] .main-header-1,
html[data-theme="light"] .main-header-1.header-sticky-1,
html[data-theme="light"] .nav-sticky-inner {
  background-color: rgba(255, 255, 255, 0.78);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(16px);
}

html[data-theme="light"] .nav-sticky-inner {
  border: 1px solid rgba(15, 23, 42, 0.1);
  background-color: rgba(255, 255, 255, 0.86);
}

html[data-theme="light"] .nav-sticky-inner .glowing-wrap {
  opacity: 1;
}

html[data-theme="light"] .nav-sticky-inner .glowing-background-one,
html[data-theme="light"] .nav-sticky-inner .glowing-background-one.color-dark-1 {
  background-color: rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .nav-sticky-inner .glowing-background-two,
html[data-theme="light"] .nav-sticky-inner .glowing-background-two.color-dark-2 {
  background-color: rgba(239, 246, 255, 0.86);
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(219, 234, 254, 0.82));
}

html[data-theme="light"] .nav-link-item {
  color: rgba(15, 23, 42, 0.72);
}

html[data-theme="light"] .nav-link-item:hover {
  color: #0f172a;
  background-color: rgba(219, 234, 254, 0.82);
}

html[data-theme="light"] .main-logo,
html[data-theme="light"] .footer-logo,
html[data-theme="light"] .social-icon-image {
  filter: brightness(0) saturate(100%) invert(12%) sepia(24%) saturate(1076%) hue-rotate(180deg) brightness(91%) contrast(93%);
}

html[data-theme="light"] .footer-about,
html[data-theme="light"] .footer-newsletter,
html[data-theme="light"] .footer-links {
  background-color: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

html[data-theme="light"] .social-link {
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

html[data-theme="light"] .social-bg-dark {
  background-color: rgba(255, 255, 255, 0.9);
  background-image: linear-gradient(135deg, #ffffff, #eaf1fb);
  border-color: rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .social-link:hover .social-icon-image {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

html[data-theme="light"] .feature-box-banner-1,
html[data-theme="light"] .feature-box-icon {
  filter: brightness(0) saturate(100%) invert(18%) sepia(21%) saturate(966%) hue-rotate(178deg) brightness(91%) contrast(91%);
  opacity: 0.22;
}

html[data-theme="light"] .feature-icon-dark,
html[data-theme="light"] .app-link {
  filter: none;
}

html[data-theme="light"] .hero-banner-img {
  background-color: #fff;
  border-color: rgba(15, 23, 42, 0.11);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
  filter: none;
  mix-blend-mode: normal;
  opacity: 1;
}

html[data-theme="light"] .feature-box-banner-1 {
  opacity: 0.24;
  mix-blend-mode: multiply;
}

html[data-theme="light"] .hero-banner-wrap {
  filter: drop-shadow(0 28px 48px rgba(15, 23, 42, 0.12));
}

html[data-theme="light"] .feature-box-wrap,
html[data-theme="light"] .fancy-box-1,
html[data-theme="light"] .form-subscribe-2,
html[data-theme="light"] .post-blog-item,
html[data-theme="light"] .licenses-link-box {
  background-color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

html[data-theme="light"] .feature-box-1,
html[data-theme="light"] .feature-icon-wrap,
html[data-theme="light"] .feature-icon-dark,
html[data-theme="light"] .fancy-box-icon,
html[data-theme="light"] .app-link {
  background-color: rgba(248, 250, 252, 0.9);
  background-image: linear-gradient(135deg, #ffffff, #eaf1fb);
  border-color: rgba(15, 23, 42, 0.1);
}

html[data-theme="light"] .feature-box-1 {
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06), 0 18px 36px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .feature-box-2,
html[data-theme="light"] .feature-box-3,
html[data-theme="light"] .feature-box-4 {
  background-color: rgba(255, 255, 255, 0.64);
}

html[data-theme="light"] .feature-title,
html[data-theme="light"] .feature-cloud-text,
html[data-theme="light"] .fancy-box-title,
html[data-theme="light"] .post-item-title,
html[data-theme="light"] .post-button-text,
html[data-theme="light"] .text-effect-text,
html[data-theme="light"] .text-gradient-white {
  color: #0f172a;
}

html[data-theme="light"] .feature-description,
html[data-theme="light"] .fancy-box-description,
html[data-theme="light"] .post-item-date,
html[data-theme="light"] .post-author-label,
html[data-theme="light"] .post-author-name,
html[data-theme="light"] .post-date,
html[data-theme="light"] .post-content-one,
html[data-theme="light"] .post-content-two {
  color: rgba(15, 23, 42, 0.72);
}

html[data-theme="light"] .text-gradient-white,
html[data-theme="light"] .text-effect-text {
  background-image: linear-gradient(180deg, #0f172a 20%, #c86b2b);
}

html[data-theme="light"] .text-gradient-inner {
  background-color: transparent;
}

html[data-theme="light"] .text-effect-gradient {
  mix-blend-mode: normal;
  opacity: 0.22;
}

html[data-theme="light"] .button-dark,
html[data-theme="light"] .button-primary,
html[data-theme="light"] .button-submit {
  background-color: #0f172a;
  border-color: rgba(15, 23, 42, 0.16);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}

html[data-theme="light"] .form-field-1,
html[data-theme="light"] .form-field-1._2 {
  color: #0f172a;
  background-color: rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .form-field-1::placeholder {
  color: rgba(15, 23, 42, 0.46);
}

html[data-theme="light"] .grid-line,
html[data-theme="light"] .box-gray,
html[data-theme="light"] .dot {
  background-color: rgba(15, 23, 42, 0.09);
}

html[data-theme="light"] .particles-left-top,
html[data-theme="light"] .particles-right-top,
html[data-theme="light"] .particles-left-top-1 {
  filter: saturate(0.8) brightness(1.18);
  opacity: 0.58;
}

html[data-theme="light"] .marquee-item-image {
  filter: brightness(0) saturate(100%) invert(17%) sepia(18%) saturate(1060%) hue-rotate(178deg) brightness(92%) contrast(91%);
  opacity: 0.62;
}

html[data-theme="light"] .ellipse-overlay-border,
html[data-theme="light"] .ellipse-overlay-item {
  background-image: linear-gradient(#ffffff00 58%, rgba(59, 130, 246, 0.12));
}

html[data-theme="light"] .glowing-background-two.bg-2,
html[data-theme="light"] .glowing-background-two.border-radius-lg.bg-gradient,
html[data-theme="light"] .glowing-background-two.background-gradient {
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(219, 234, 254, 0.86));
}

html[data-theme="light"] .main-divider-1,
html[data-theme="light"] .main-divider-2,
html[data-theme="light"] .divider-glowing-box-wrap {
  opacity: 0.55;
}

.theme-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(8, 12, 24, 0.78);
  color: #fff;
  padding: 10px 14px;
  font: 500 14px/1 "Inter Tight", sans-serif;
  letter-spacing: 0.01em;
  cursor: pointer;
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
}

.theme-toggle:focus-visible {
  outline: 2px solid #f0c57c;
  outline-offset: 3px;
}

.theme-toggle__icon {
  font-size: 15px;
  line-height: 1;
}

.theme-toggle__label {
  white-space: nowrap;
}

html[data-theme="light"] .theme-toggle {
  background: rgba(255, 255, 255, 0.88);
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

@media screen and (max-width: 767px) {
  .theme-toggle {
    right: 14px;
    bottom: 14px;
    padding: 9px 12px;
    font-size: 13px;
  }

  html[data-theme="light"] .section-sub-title-inner {
    justify-content: center;
    width: auto;
    max-width: calc(100vw - 32px);
    padding-right: 8px;
  }

  html[data-theme="light"] .main-title,
  html[data-theme="light"] .sub-title {
    max-width: 100%;
    text-align: center;
  }

  html[data-theme="light"] .sub-title {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
