/* Portfolio image height ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ keep cards consistent (demo was too tall) */
.portfolio-item .portfolio-item-inner {
  border-radius: 18px;
  overflow: hidden;
}

.portfolio-item .portfolio-item-img {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 0;
}

.portfolio-item .portfolio-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 0;
}

.portfolio-item .portfolio-item-img .portfolio-zoom-link,
.portfolio-item .portfolio-item-img .portfolio-zoom-link:before,
.portfolio-item .portfolio-item-img .portfolio-zoom-link:after,
.portfolio-item:hover .portfolio-item-img .portfolio-zoom-link {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.portfolio-item .portfolio-item-img:before,
.portfolio-item:hover .portfolio-item-img:before {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  content: none !important;
}

/* Text selection ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ white text on brand green */
::selection,
::-moz-selection,
*::selection,
*::-moz-selection {
  color: #fff !important;
  background: #15bf86 !important;
}

/* Equal card height + title always reserves 2 lines */
.portfolio-item {
  display: flex;
}

.portfolio-item.is-filtered-out {
  display: none !important;
}

.portfolio-item .portfolio-item-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.portfolio-item .body {
  flex: 1 1 auto;
  align-items: flex-start;
  min-height: 140px;
}

.portfolio-item .body .portfolio-details {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 12px;
}

.portfolio-item .body .portfolio-details h5 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.35;
  min-height: 0;
  max-height: calc(1.35em * 2);
  margin: 0 0 6px;
  word-break: break-word;
}

.portfolio-item .body .portfolio-details p {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ni-muted, #5a675f);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

.portfolio-item .body .portfolio-link {
  flex-shrink: 0;
  margin-top: 4px;
  width: 52px !important;
  height: 52px !important;
  min-width: 52px;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 50% !important;
  border: 1px solid rgba(21, 191, 134, 0.55) !important;
  background: linear-gradient(145deg, rgba(21, 191, 134, 0.18) 0%, rgba(7, 12, 10, 0.72) 52%, rgba(83, 255, 200, 0.08) 100%) !important;
  background-image: none !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
  overflow: visible;
}

.portfolio-item .body .portfolio-link::after {
  content: none !important;
  display: none !important;
}

.portfolio-item .body .portfolio-link i {
  font-size: 0 !important;
  width: 100% !important;
  height: 100% !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
  background: transparent !important;
  color: transparent !important;
}

.portfolio-item .body .portfolio-link i::before {
  content: "" !important;
  width: 9px;
  height: 9px;
  border-top: 2px solid rgba(255, 255, 255, 0.95);
  border-right: 2px solid rgba(255, 255, 255, 0.95);
  display: block;
  transform: rotate(45deg);
  margin-left: -2px;
  filter: drop-shadow(0 0 6px rgba(21, 191, 134, 0.45));
}

.portfolio-item .body .portfolio-link:hover {
  transform: translateY(-2px) scale(1.04);
  border-color: rgba(83, 255, 200, 0.72) !important;
  background: linear-gradient(145deg, rgba(21, 191, 134, 0.34) 0%, rgba(21, 191, 134, 0.14) 48%, rgba(83, 255, 200, 0.22) 100%) !important;
  background-image: none !important;
  box-shadow: 0 16px 36px rgba(21, 191, 134, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.portfolio-item .body .portfolio-link:hover i::before {
  border-top-color: #fff;
  border-right-color: #fff;
  filter: drop-shadow(0 0 10px rgba(83, 255, 200, 0.75));
}

html[data-theme="light"] {
  --ni-page-bg: #f6faf8;
  --ni-section-bg: transparent;
  --ni-card-bg: #ffffff;
  --ni-text: #12201b;
  --ni-muted: #5a675f;
  --ni-border: rgba(18, 120, 88, 0.14);
  --ni-header-bg: rgba(255, 255, 255, 0.92);
  --ni-footer-bg: #eef5f1;
  --ni-footer-text: #3d4a43;
  --ni-input-bg: #ffffff;
  --ni-shadow: 0 10px 28px rgba(18, 60, 45, 0.06);
  --ni-glass: #ffffff;
  --ni-glass-hover: #ffffff;
  --ni-glass-border: rgba(18, 120, 88, 0.14);
  --ni-glass-shadow: 0 10px 28px rgba(18, 60, 45, 0.06);
  --ni-section-space: 72px;
}

html[data-theme="dark"] {
  --ni-page-bg: #070c0a;
  --ni-section-bg: transparent;
  --ni-card-bg: #171c19;
  --ni-text: #f1f5f3;
  --ni-muted: #a7b5ad;
  --ni-border: #2a3530;
  --ni-header-bg: rgba(10, 16, 13, 0.78);
  --ni-footer-bg: transparent;
  --ni-footer-text: #a7b5ad;
  --ni-input-bg: #141a17;
  --ni-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.4);
  --ni-glass: linear-gradient(165deg, rgba(21, 191, 134, 0.16) 0%, rgba(255, 255, 255, 0.05) 36%, rgba(7, 12, 10, 0.28) 100%);
  --ni-glass-hover: linear-gradient(165deg, rgba(21, 191, 134, 0.26) 0%, rgba(255, 255, 255, 0.07) 40%, rgba(7, 12, 10, 0.18) 100%);
  --ni-glass-border: rgba(21, 191, 134, 0.22);
  --ni-glass-shadow: 0 18px 40px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --ni-section-space: 72px;
}

/* Compact nav height + centered menu layout */
.header {
  padding: 0 !important;
}

.header .navbar-brand {
  position: relative;
  z-index: 3;
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
}

.header .navbar-brand img {
  max-height: 60px !important;
  height: 60px !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain;
}

/* Theme-aware section images (dark vs light asset swap) */
.theme-mode-img--light {
  display: none !important;
}

.theme-mode-img--dark {
  display: block !important;
}

html[data-theme="light"] .theme-mode-img--dark {
  display: none !important;
}

html[data-theme="light"] .theme-mode-img--light {
  display: block !important;
}

html[data-theme="dark"] .theme-mode-img--dark {
  display: block !important;
}

html[data-theme="dark"] .theme-mode-img--light {
  display: none !important;
}

.hero-img .border-line-inner,
.about-img,
.skills-img {
  position: relative;
}

.hero-img .theme-mode-img,
.about-img > .theme-mode-img,
.skills-img > .theme-mode-img {
  width: 100%;
  height: auto;
}

/* Only one logo visible — never stack both */
.header .navbar-brand img.logo-transparent {
  display: block !important;
}

.header .navbar-brand img.logo-normal {
  display: none !important;
}

html[data-theme="light"] .header:not(.header-shrink) .navbar-brand img.logo-transparent,
html[data-theme="light"] body:not(:has(.hero-banner)) .header .navbar-brand img.logo-transparent,
.header-shrink .navbar-brand img.logo-transparent,
html[data-theme="light"] .header-shrink .navbar-brand img.logo-transparent {
  display: none !important;
}

html[data-theme="light"] .header:not(.header-shrink) .navbar-brand img.logo-normal,
html[data-theme="light"] body:not(:has(.hero-banner)) .header .navbar-brand img.logo-normal,
.header-shrink .navbar-brand img.logo-normal,
html[data-theme="light"] .header-shrink .navbar-brand img.logo-normal {
  display: block !important;
}

/* Dark solid header (blog etc.) ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ keep white logo only */
html[data-theme="dark"] body:not(:has(.hero-banner)) .header .navbar-brand img.logo-transparent,
html[data-theme="dark"] .header-shrink .navbar-brand img.logo-transparent {
  display: block !important;
}

html[data-theme="dark"] body:not(:has(.hero-banner)) .header .navbar-brand img.logo-normal,
html[data-theme="dark"] .header-shrink .navbar-brand img.logo-normal {
  display: none !important;
}

@media (max-width: 991.98px) {
  .header .navbar-brand img {
    max-height: 48px !important;
    height: 48px !important;
  }
}

.header .nav-item {
  position: relative;
  z-index: 1;
  overflow: hidden;
  flex-shrink: 1;
}

.header .nav-item:hover,
.header .nav-item:focus-within {
  z-index: 2;
}

.header .nav-item .nav-link {
  padding: 8px 12px !important;
  line-height: 24px !important;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
}

.header .nav-item .nav-link:after,
.header .nav-item .nav-link::after,
.header .nav-item .nav-link:not(.active):after,
.header .nav-item .nav-link:not(.active):hover:after,
.header .nav-item.dropdown:hover .nav-link:after,
.header-shrink .nav-item .nav-link:after,
.header-shrink .nav-item .nav-link:not(.active):after,
body.rtl-mode .header .nav-item .nav-link:after,
body.rtl-mode .header .nav-item .nav-link:not(.active):after,
body.rtl-mode .header .nav-item .nav-link:not(.active):hover:after {
  display: none !important;
  content: none !important;
  height: 0 !important;
  width: 0 !important;
  left: auto !important;
  bottom: auto !important;
  background: none !important;
  transform: none !important;
  z-index: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.header .nav-item .nav-link:hover,
.header .nav-item .nav-link.active,
.header-shrink .nav-item .nav-link:hover,
.header-shrink .nav-item .nav-link.active {
  color: var(--ni-primary, #15bf86) !important;
  opacity: 1 !important;
}

.header-shrink {
  padding: 0 !important;
}

.header-shrink .nav-item .nav-link {
  padding: 8px 12px !important;
  line-height: 24px !important;
}

@media (min-width: 992px) {
  .header .navbar {
    position: relative;
    min-height: 68px !important;
    align-items: center !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

  .header .main-menu {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    margin-left: auto;
  }

  .header .header-nav-center {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    margin-left: auto;
    margin-right: 8px;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    min-width: 0;
    overflow: hidden;
    z-index: 1;
  }

  .header .header-nav-right {
    margin-left: 0;
    flex-direction: row;
    align-items: center;
    flex-shrink: 0;
    z-index: 2;
  }

  .header .header-lang-item {
    margin-left: 4px;
  }

  .header .header-theme-item {
    margin-left: 8px;
  }

  .header .header-nav-right .theme-mode-toggle {
    margin-left: 4px;
    margin-right: 0;
  }
}

/* Language segmented toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  gap: 2px;
}

.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-toggle-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.lang-toggle-btn.active {
  color: #0b0f0d;
  background: var(--ni-primary, #15bf86);
}

.header-shrink .lang-toggle {
  border-color: rgba(23, 23, 24, 0.14);
  background: rgba(23, 23, 24, 0.04);
}

.header-shrink .lang-toggle-btn {
  color: var(--ni-muted, #6d7077);
}

.header-shrink .lang-toggle-btn:hover {
  color: var(--ni-text, #171718);
  background: rgba(21, 191, 134, 0.1);
}

.header-shrink .lang-toggle-btn.active {
  color: #fff;
  background: var(--ni-primary, #15bf86);
}

html[data-theme="light"] .header:not(.header-shrink) .lang-toggle {
  border-color: rgba(23, 23, 24, 0.16);
  background: rgba(23, 23, 24, 0.04);
}

html[data-theme="light"] .header:not(.header-shrink) .lang-toggle-btn {
  color: rgba(23, 23, 24, 0.65);
}

html[data-theme="light"] .header:not(.header-shrink) .lang-toggle-btn:hover {
  color: #171718;
  background: rgba(21, 191, 134, 0.1);
}

html[data-theme="light"] .header:not(.header-shrink) .lang-toggle-btn.active {
  color: #fff;
  background: var(--ni-primary, #15bf86);
}

.page-content-offset {
  padding-top: 140px !important;
  padding-bottom: 100px !important;
}

/* Inner pages: solid header (no transparent over missing hero) */
body:not(:has(.hero-banner)) .header:not(.header-shrink),
.header.header-inner-solid {
  background: var(--ni-header-bg, #fff);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] body:not(:has(.hero-banner)) .header .nav-item .nav-link,
html[data-theme="light"] body:not(:has(.hero-banner)) .header .theme-mode-toggle {
  color: #171718 !important;
}

html[data-theme="dark"] body:not(:has(.hero-banner)) .header {
  background: var(--ni-header-bg);
}

/* ---------- Toggle (icon only, no background) ---------- */
.theme-mode-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  min-width: 28px;
  min-height: 28px;
  margin-left: 8px;
  margin-right: 4px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff;
  cursor: pointer;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.theme-mode-toggle:hover,
.theme-mode-toggle:focus {
  background: transparent !important;
  box-shadow: none !important;
  color: var(--ni-primary);
  outline: none;
}

.theme-mode-toggle .theme-icon-light,
.theme-mode-toggle .theme-icon-dark {
  display: none;
  font-size: 18px;
  line-height: 1;
}

html[data-theme="light"] .theme-mode-toggle .theme-icon-dark {
  display: inline-block;
}

html[data-theme="dark"] .theme-mode-toggle .theme-icon-light {
  display: inline-block;
  color: #f6e05e;
}

.header-shrink .theme-mode-toggle {
  border: none;
  background: transparent !important;
  color: var(--ni-text);
}

.header-shrink .theme-mode-toggle:hover {
  background: transparent !important;
  color: var(--ni-primary);
  border: none;
}

/* Header bottom line */
.header,
.header-shrink {
  border-bottom: 1px solid rgba(21, 191, 134, 0.22);
}

html[data-theme="dark"] .header,
html[data-theme="dark"] .header-shrink {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="light"] .header,
html[data-theme="light"] .header-shrink {
  background: var(--ni-header-bg);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: rgba(18, 120, 88, 0.1);
  box-shadow: 0 8px 28px rgba(18, 60, 45, 0.04);
}

/* ---------- Base surfaces ---------- */
html[data-theme="dark"],
html[data-theme="light"] {
  background-color: var(--ni-page-bg);
}

html[data-theme="dark"] body,
html[data-theme="light"] body {
  background-color: transparent;
  color: var(--ni-muted);
}

html[data-theme="dark"]::before,
html[data-theme="light"]::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

html[data-theme="dark"]::before {
  background:
    radial-gradient(ellipse 70% 55% at 88% 16%, rgba(21, 191, 134, 0.18), transparent 62%),
    radial-gradient(ellipse 50% 42% at 8% 48%, rgba(21, 191, 134, 0.08), transparent 68%),
    radial-gradient(ellipse 48% 38% at 72% 88%, rgba(21, 191, 134, 0.11), transparent 70%),
    radial-gradient(ellipse 30% 24% at 50% 0%, rgba(21, 191, 134, 0.07), transparent 72%),
    linear-gradient(180deg, #070c0a 0%, #051610 42%, #070c0a 100%);
}

html[data-theme="light"]::before {
  background:
    radial-gradient(ellipse 68% 52% at 90% 12%, rgba(21, 191, 134, 0.16), transparent 64%),
    radial-gradient(ellipse 48% 40% at 6% 52%, rgba(45, 168, 140, 0.08), transparent 70%),
    radial-gradient(ellipse 46% 36% at 74% 90%, rgba(21, 191, 134, 0.1), transparent 72%),
    radial-gradient(ellipse 34% 28% at 48% -4%, rgba(120, 210, 180, 0.12), transparent 74%),
    linear-gradient(180deg, #fbfdfc 0%, #f3f9f6 45%, #f7fbf9 100%);
}

html[data-theme="dark"]::after,
html[data-theme="light"]::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(21, 191, 134, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 191, 134, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
}

html[data-theme="dark"]::after {
  opacity: 0.32;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 18%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 18%, transparent 78%);
}

html[data-theme="light"]::after {
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(18, 120, 88, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 120, 88, 0.045) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse 78% 68% at 50% 38%, #000 16%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 78% 68% at 50% 38%, #000 16%, transparent 80%);
}

html[data-theme="dark"] .page-wrapper,
html[data-theme="dark"] .main-area,
html[data-theme="light"] .page-wrapper,
html[data-theme="light"] .main-area,
html[data-theme="dark"] .section,
html[data-theme="light"] .section,
html[data-theme="dark"] .bg-primary-light,
html[data-theme="light"] .bg-primary-light,
html[data-theme="dark"] .bg-dark-blue,
html[data-theme="light"] .bg-dark-blue,
html[data-theme="dark"] .bg-white,
html[data-theme="dark"] .section.bg-white,
html[data-theme="light"] .bg-white,
html[data-theme="dark"] .about-section,
html[data-theme="light"] .about-section,
html[data-theme="dark"] .skills-section,
html[data-theme="light"] .skills-section,
html[data-theme="dark"] .counters-section,
html[data-theme="light"] .counters-section,
html[data-theme="dark"] .contact-section,
html[data-theme="light"] .contact-section,
html[data-theme="dark"] .breadcrumb-section,
html[data-theme="light"] .breadcrumb-section,
html[data-theme="dark"] .footer,
html[data-theme="dark"] .footer .footer-top,
html[data-theme="dark"] .footer .copyright {
  background: transparent !important;
  background-color: transparent !important;
}

html[data-theme="dark"] .hero-banner,
html[data-theme="light"] .hero-banner {
  background: transparent;
}

html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] h5,
html[data-theme="dark"] h6,
html[data-theme="dark"] .h1,
html[data-theme="dark"] .h2,
html[data-theme="dark"] .h3,
html[data-theme="dark"] .h4,
html[data-theme="dark"] .h5,
html[data-theme="dark"] .h6 {
  color: var(--ni-text);
}

html[data-theme="dark"] p {
  color: var(--ni-muted);
}

html[data-theme="dark"] .section .section-heading h2,
html[data-theme="dark"] .section .section-heading-left h2 {
  color: var(--ni-text);
}

html[data-theme="light"] .section .section-heading h2,
html[data-theme="light"] .section .section-heading-left h2,
html[data-theme="light"] .about-section .about-section-heading h2,
html[data-theme="light"] .page-faq-heading h1 {
  color: var(--ni-primary, #15bf86) !important;
}

html[data-theme="dark"] .section .section-heading span,
html[data-theme="dark"] .section .section-heading-left span {
  display: none !important;
}

html[data-theme="dark"] .bg-primary-light {
  background-color: transparent !important;
}

html[data-theme="light"] .bg-primary-light {
  background-color: transparent !important;
}

html[data-theme="dark"] .bg-white,
html[data-theme="dark"] .section.bg-white {
  background-color: transparent !important;
}

/* Header */
html[data-theme="dark"] .header-shrink {
  background: var(--ni-header-bg);
  box-shadow: 0 3px 16px 0 rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid var(--ni-border);
}

html[data-theme="light"] .header-shrink {
  background: var(--ni-header-bg);
}

html[data-theme="dark"] .header-shrink .nav-item .nav-link {
  color: var(--ni-text);
}

html[data-theme="dark"] .header-shrink .navbar-toggler .togler-icon-inner span {
  background: var(--ni-text);
}

html[data-theme="dark"] .header .nav-item.dropdown .dropdown-menu,
html[data-theme="light"] .header .nav-item.dropdown .dropdown-menu {
  background: var(--ni-card-bg);
  border-color: var(--ni-border);
}

html[data-theme="dark"] .header .nav-item.dropdown .dropdown-menu .dropdown-item {
  color: var(--ni-text);
}

html[data-theme="dark"] .header .nav-item.dropdown .dropdown-menu .dropdown-item:hover {
  background: rgba(var(--ni-primary-rgb), 0.12);
  color: var(--ni-primary);
}

/* Cards / blocks */
html[data-theme="dark"] .portfolio-item .portfolio-item-inner,
html[data-theme="dark"] .blog-item,
html[data-theme="dark"] .services-item,
html[data-theme="dark"] .resume-item,
html[data-theme="dark"] .team-item,
html[data-theme="dark"] .testimonial-item,
html[data-theme="dark"] .feature-item,
html[data-theme="dark"] .pricing-item,
html[data-theme="dark"] .work-process-item,
html[data-theme="dark"] .contact-form,
html[data-theme="dark"] .contact-form-wrap,
html[data-theme="dark"] .comment-form,
html[data-theme="dark"] .sidebar-widget,
html[data-theme="dark"] .widget-sidebar,
html[data-theme="dark"] .blog-details-inner,
html[data-theme="dark"] .portfolio-details-inner,
html[data-theme="dark"] .about-item,
html[data-theme="dark"] .single-blog-item,
html[data-theme="dark"] .comment-item,
html[data-theme="dark"] .price-item,
html[data-theme="dark"] .fun-fact-item,
html[data-theme="dark"] .contact-info-item,
html[data-theme="dark"] .skills-inner .skills-item {
  background: var(--ni-card-bg) !important;
  box-shadow: var(--ni-shadow) !important;
  color: var(--ni-muted);
  border-color: var(--ni-border) !important;
}

html[data-theme="dark"] .resume-item,
html[data-theme="dark"] .services-item,
html[data-theme="dark"] .feature-item,
html[data-theme="dark"] .counter-item,
html[data-theme="dark"] .contact-info-item,
html[data-theme="dark"] .contact-section .contact-info-item,
html[data-theme="dark"] .team-item,
html[data-theme="dark"] .team-card .body,
html[data-theme="dark"] .testimonial-item,
html[data-theme="dark"] .work-process-item,
html[data-theme="dark"] .pricing-item,
html[data-theme="dark"] .price-item,
html[data-theme="dark"] .blog-item,
html[data-theme="dark"] .portfolio-item .portfolio-item-inner,
html[data-theme="dark"] .skills-section .skills-item {
  background: var(--ni-glass) !important;
  background-color: transparent !important;
  border: 1px solid var(--ni-glass-border) !important;
  box-shadow: var(--ni-glass-shadow) !important;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

html[data-theme="light"] .resume-item,
html[data-theme="light"] .services-item,
html[data-theme="light"] .feature-item,
html[data-theme="light"] .counter-item,
html[data-theme="light"] .contact-info-item,
html[data-theme="light"] .contact-section .contact-info-item,
html[data-theme="light"] .team-item,
html[data-theme="light"] .team-card .body,
html[data-theme="light"] .testimonial-item,
html[data-theme="light"] .work-process-item,
html[data-theme="light"] .pricing-item,
html[data-theme="light"] .price-item,
html[data-theme="light"] .blog-item,
html[data-theme="light"] .portfolio-item .portfolio-item-inner,
html[data-theme="light"] .skills-section .skills-item {
  background: #ffffff !important;
  background-image: none !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(18, 120, 88, 0.14) !important;
  box-shadow: 0 10px 28px rgba(18, 60, 45, 0.06) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-theme="dark"] .resume-item:hover,
html[data-theme="dark"] .services-item:hover,
html[data-theme="dark"] .feature-item:hover,
html[data-theme="dark"] .counter-item:hover,
html[data-theme="dark"] .contact-info-item:hover,
html[data-theme="dark"] .contact-section .contact-info-item:hover,
html[data-theme="dark"] .team-item:hover,
html[data-theme="dark"] .team-card:hover .body,
html[data-theme="dark"] .testimonial-item:hover,
html[data-theme="dark"] .work-process-item:hover,
html[data-theme="dark"] .pricing-item:hover,
html[data-theme="dark"] .price-item:hover,
html[data-theme="dark"] .blog-item:hover,
html[data-theme="dark"] .portfolio-item:hover .portfolio-item-inner {
  background: var(--ni-glass-hover) !important;
  background-color: transparent !important;
  border-color: rgba(21, 191, 134, 0.42) !important;
}

html[data-theme="light"] .resume-item:hover,
html[data-theme="light"] .services-item:hover,
html[data-theme="light"] .feature-item:hover,
html[data-theme="light"] .counter-item:hover,
html[data-theme="light"] .contact-info-item:hover,
html[data-theme="light"] .contact-section .contact-info-item:hover,
html[data-theme="light"] .team-item:hover,
html[data-theme="light"] .team-card:hover .body,
html[data-theme="light"] .testimonial-item:hover,
html[data-theme="light"] .work-process-item:hover,
html[data-theme="light"] .pricing-item:hover,
html[data-theme="light"] .price-item:hover,
html[data-theme="light"] .blog-item:hover,
html[data-theme="light"] .portfolio-item:hover .portfolio-item-inner,
html[data-theme="light"] .skills-section .skills-item:hover {
  background: #ffffff !important;
  background-image: none !important;
  background-color: #ffffff !important;
  border-color: rgba(21, 191, 134, 0.35) !important;
  box-shadow: 0 14px 32px rgba(18, 60, 45, 0.09) !important;
}

html[data-theme="dark"] .portfolio-item .portfolio-details span,
html[data-theme="dark"] .portfolio-item .portfolio-details h5,
html[data-theme="dark"] .blog-item .blog-details h5,
html[data-theme="dark"] .blog-item .blog-details a,
html[data-theme="dark"] .blog-item .blog-body h5,
html[data-theme="dark"] .blog-item .blog-body h5 a,
html[data-theme="dark"] .blog-item .blog-body .blog-meta a,
html[data-theme="dark"] .services-item .body h5,
html[data-theme="dark"] .services-item .body a,
html[data-theme="dark"] .resume-item .body .text h5,
html[data-theme="dark"] .resume-item .body .text span,
html[data-theme="dark"] .testimonial-item .body h5,
html[data-theme="dark"] .team-item h5,
html[data-theme="dark"] .team-item span,
html[data-theme="dark"] .portfolio-item .body h5,
html[data-theme="dark"] .portfolio-item .body span,
html[data-theme="dark"] .portfolio-item .portfolio-item-inner .body h5,
html[data-theme="dark"] .contact-info-item h5,
html[data-theme="dark"] .contact-info-item p,
html[data-theme="dark"] .contact-info-item a {
  color: var(--ni-text) !important;
}

html[data-theme="dark"] .services-item .body p,
html[data-theme="dark"] .resume-item .body .text p,
html[data-theme="dark"] .testimonial-item .body p,
html[data-theme="dark"] .blog-item .blog-body p,
html[data-theme="dark"] .portfolio-item .portfolio-details p {
  color: var(--ni-muted) !important;
}

html[data-theme="light"] .portfolio-item .portfolio-details p {
  color: #5a675f !important;
}

html[data-theme="dark"] .portfolio-filter a {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07) 0%, rgba(21, 191, 134, 0.1) 46%, rgba(7, 12, 10, 0.28) 100%) !important;
  color: var(--ni-muted, #a7b5ad) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

html[data-theme="dark"] .portfolio-filter a:hover {
  color: #fff !important;
  border-color: rgba(21, 191, 134, 0.42) !important;
  background: linear-gradient(165deg, rgba(21, 191, 134, 0.28) 0%, rgba(255, 255, 255, 0.08) 48%, rgba(7, 12, 10, 0.2) 100%) !important;
}

html[data-theme="dark"] .portfolio-filter a.current {
  background: linear-gradient(165deg, rgba(21, 191, 134, 0.52) 0%, rgba(21, 191, 134, 0.18) 52%, rgba(255, 255, 255, 0.08) 100%) !important;
  color: #fff !important;
  border-color: rgba(21, 191, 134, 0.5) !important;
  box-shadow: 0 10px 28px rgba(21, 191, 134, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

html[data-theme="dark"] .blog-item .blog-body .blog-author-img {
  border-color: var(--ni-card-bg);
}

/* Service cards ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ project-style with large top image */
.services-item {
  padding: 0 !important;
  margin-bottom: 0 !important;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  overflow: hidden;
  border-radius: 18px !important;
  -webkit-transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease !important;
}

.services-item-media {
  position: relative;
  width: 100%;
  min-height: 300px;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  display: block;
  padding: 0 !important;
  background: transparent;
  border-radius: 18px 18px 0 0;
}

.services-item-icon-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.services-item-icon-wrap .services-logo {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
  border-radius: 0 !important;
  filter: none;
  transition: transform 0.45s ease;
}

html[data-theme="dark"] .services-item-icon-wrap .services-logo,
html[data-theme="light"] .services-item-icon-wrap .services-logo {
  mix-blend-mode: normal;
}

.services-item-icon-wrap span {
  width: auto !important;
  height: auto !important;
  line-height: 1 !important;
  font-size: 56px !important;
  border-radius: 0 !important;
  color: var(--ni-primary, #15bf86) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.services-item-number,
.services-item-top {
  display: none !important;
}

.services-item .body {
  padding: 22px 22px 24px !important;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.services-item .icon,
.services-item .icon-border {
  display: none !important;
}

.services-item:hover .services-item-icon-wrap .services-logo {
  transform: scale(1.03);
}

.services-item:hover {
  background: var(--ni-glass-hover) !important;
  border-color: rgba(21, 191, 134, 0.55) !important;
  box-shadow: none !important;
  -webkit-transform: none;
      -ms-transform: none;
          transform: none;
}

.services-item:hover .body h4,
.services-item:hover .body h5 {
  color: var(--ni-primary, #15bf86) !important;
}

.services-item:hover .body p {
  color: inherit !important;
  opacity: 1;
}

.services-item:hover .body a {
  color: var(--ni-primary, #15bf86) !important;
}

.services-item:hover .body a i {
  color: var(--ni-primary, #15bf86) !important;
}

.services-item:hover .body a:hover,
.services-item:hover .body a:hover i {
  color: var(--ni-primary, #15bf86) !important;
}

.services-item:hover .icon span {
  background: transparent !important;
  color: var(--ni-primary, #15bf86) !important;
  box-shadow: none !important;
}

.services-item:hover .icon-border:after,
.services-item:hover .icon-border:before {
  border-color: var(--ni-primary, #15bf86) !important;
}

.services-item .body a {
  color: var(--ni-text, #f1f5f3);
}

.services-item .body a:hover {
  color: var(--ni-primary, #15bf86) !important;
}

.blog-item .blog-body .blog-meta a i,
#blog .blog-item .blog-body .blog-meta a i {
  color: var(--ni-primary, #15bf86) !important;
}

.blog-item .blog-body .blog-meta a:hover {
  color: var(--ni-primary, #15bf86) !important;
}

.testimonial-item .img {
  padding: 0 !important;
  border: 1px solid rgba(21, 191, 134, 0.55) !important;
  overflow: hidden;
}

.testimonial-item .img img {
  border: 0 !important;
  box-shadow: none !important;
}

.testimonial-item .body span {
  color: var(--ni-primary, #15bf86) !important;
}

.testimonial-item .body .rating i {
  color: var(--ni-primary, #15bf86) !important;
}

.testimonial-item .quote-icon {
  padding: 0 !important;
  border: 1px solid rgba(21, 191, 134, 0.55) !important;
  background: transparent !important;
  width: 40px;
  height: 40px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.testimonial-item .quote-icon i {
  width: auto !important;
  height: auto !important;
  line-height: 1 !important;
  background: transparent !important;
  color: var(--ni-primary, #15bf86) !important;
  border: 0 !important;
}

.services-item .icon-border:before {
  display: none !important;
}

html[data-theme="light"] .services-item:hover {
  background: #ffffff !important;
  background-image: none !important;
  border-color: rgba(21, 191, 134, 0.35) !important;
  box-shadow: 0 14px 32px rgba(18, 60, 45, 0.09) !important;
}

html[data-theme="light"] .services-item:hover .body h4,
html[data-theme="light"] .services-item:hover .body h5,
html[data-theme="light"] .services-item:hover .body a,
html[data-theme="light"] .services-item:hover .body a i {
  color: var(--ni-primary, #15bf86) !important;
}

html[data-theme="light"] .services-item:hover .body p {
  color: var(--ni-muted, #6d7077) !important;
}

html[data-theme="dark"] .services-item:hover {
  background: var(--ni-glass-hover) !important;
  border-color: rgba(21, 191, 134, 0.55) !important;
}

html[data-theme="dark"] .services-item:hover .body p {
  color: var(--ni-muted, #a7b5ad) !important;
}

html[data-theme="dark"] .owl-carousel .owl-nav button span,
html[data-theme="dark"] .section-carousel-nav .owl-nav button span {
  background: transparent !important;
  color: transparent !important;
}

html[data-theme="dark"] .portfolio-item .portfolio-link,
.portfolio-item .body .portfolio-link {
  background: linear-gradient(145deg, rgba(21, 191, 134, 0.18) 0%, rgba(7, 12, 10, 0.72) 52%, rgba(83, 255, 200, 0.08) 100%) !important;
  background-image: none !important;
  border: 1px solid rgba(21, 191, 134, 0.55) !important;
  color: #fff;
  padding: 0 !important;
}

html[data-theme="dark"] .portfolio-item .portfolio-link i,
.portfolio-item .body .portfolio-link i {
  background: transparent !important;
  color: transparent !important;
  width: 100% !important;
  height: 100% !important;
  line-height: 1 !important;
}

html[data-theme="dark"] .portfolio-item .portfolio-link:hover,
.portfolio-item .body .portfolio-link:hover {
  background: linear-gradient(145deg, rgba(21, 191, 134, 0.34) 0%, rgba(21, 191, 134, 0.14) 48%, rgba(83, 255, 200, 0.22) 100%) !important;
  background-image: none !important;
}

html[data-theme="light"] .portfolio-item .body .portfolio-link {
  background: #ffffff !important;
  background-image: none !important;
  border-color: rgba(21, 191, 134, 0.55) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .portfolio-item .body .portfolio-link i {
  color: transparent !important;
  background: transparent !important;
}

html[data-theme="light"] .portfolio-item .body .portfolio-link i::before {
  border-top-color: #0d8f63;
  border-right-color: #0d8f63;
}

html[data-theme="light"] .portfolio-item .body .portfolio-link:hover {
  background: #ffffff !important;
  background-image: none !important;
  box-shadow: none !important;
}

html[data-theme="light"] .portfolio-item .body .portfolio-link:hover i::before {
  border-top-color: #15bf86;
  border-right-color: #15bf86;
}

/* About / skills / services text */
html[data-theme="dark"] .about-content h2,
html[data-theme="dark"] .about-content h3,
html[data-theme="dark"] .about-content h5,
html[data-theme="dark"] .skills-inner > h6,
html[data-theme="dark"] .skills-inner h2,
html[data-theme="dark"] .skills-inner .skills-item .skills-item-text h5,
html[data-theme="dark"] .skills-inner .skills-item .body h2 {
  color: var(--ni-text) !important;
}

html[data-theme="dark"] .about-content p,
html[data-theme="dark"] .skills-inner > p,
html[data-theme="dark"] .skills-inner ul li {
  color: var(--ni-muted) !important;
}

html[data-theme="dark"] .skills-inner .skills-item {
  background: var(--ni-card-bg);
  box-shadow: var(--ni-shadow);
}

/* Footer */
html[data-theme="dark"] .footer,
html[data-theme="light"] .footer {
  background: var(--ni-footer-bg);
}

html[data-theme="dark"] .footer .footer-title,
html[data-theme="dark"] .footer .footer-desc,
html[data-theme="dark"] .footer a,
html[data-theme="dark"] .footer p,
html[data-theme="dark"] .footer li {
  color: var(--ni-footer-text);
}

/* Breadcrumb */
html[data-theme="dark"] .breadcrumb-section {
  background-color: transparent;
}

html[data-theme="dark"] .breadcrumb-inner h1,
html[data-theme="dark"] .breadcrumb-links li,
html[data-theme="dark"] .breadcrumb-links a {
  color: var(--ni-text);
}

/* Forms */
html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select,
html[data-theme="dark"] .form-control {
  background-color: var(--ni-input-bg) !important;
  border-color: var(--ni-border) !important;
  color: var(--ni-text) !important;
  box-shadow: none !important;
}

html[data-theme="light"] input,
html[data-theme="light"] textarea,
html[data-theme="light"] select,
html[data-theme="light"] .form-control,
html[data-theme="light"] .contact-form-wrap .form-control,
html[data-theme="light"] .leave-comment-wrapper .comment-form-group .form-control {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border: 1px solid rgba(18, 120, 88, 0.16) !important;
  color: var(--ni-text, #12201b) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .contact-form-wrap {
  background: #ffffff !important;
  border: 1px solid rgba(18, 120, 88, 0.14);
  box-shadow: 0 10px 28px rgba(18, 60, 45, 0.06);
}

html[data-theme="light"] .leave-comment-wrapper .comment-form-group .form-control {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(18, 120, 88, 0.16) !important;
  height: auto !important;
  min-height: 56px !important;
  padding: 16px 18px !important;
  line-height: 1.5 !important;
  box-sizing: border-box !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .leave-comment-wrapper .comment-form-group .form-control,
.leave-comment-wrapper .comment-form-group .form-control {
  background-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  border: 1px solid var(--ni-border, rgba(255, 255, 255, 0.18)) !important;
  height: auto !important;
  min-height: 56px !important;
  padding: 16px 18px !important;
  line-height: 1.5 !important;
  box-sizing: border-box !important;
  border-radius: 8px !important;
}

.contact-form-wrap {
  padding: 32px 28px;
  border-radius: 12px;
}

@media (max-width: 767.98px) {
  .contact-form-wrap {
    padding: 24px 18px;
  }
}

.contact-form-wrap .contact-form-group textarea.form-control,
.leave-comment-wrapper .comment-form-group textarea.form-control {
  min-height: 160px !important;
  padding: 18px 24px !important;
}

.leave-comment-wrapper .comment-form-group .form-control:focus {
  background-color: transparent !important;
  background: transparent !important;
  border-color: inherit !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

/* Global: remove input / button focus rings (frontend) */
input:focus,
input:focus-visible,
textarea:focus,
textarea:focus-visible,
select:focus,
select:focus-visible,
button:focus,
button:focus-visible,
.btn:focus,
.btn:focus-visible,
.form-control:focus,
.form-control:focus-visible,
a:focus,
a:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: var(--ni-muted) !important;
}

html[data-theme="dark"] .table,
html[data-theme="dark"] .table td,
html[data-theme="dark"] .table th {
  color: var(--ni-text);
  border-color: var(--ni-border);
}

html[data-theme="dark"] .modal-content {
  background: var(--ni-card-bg);
  color: var(--ni-text);
}

html[data-theme="dark"] .modal-header,
html[data-theme="dark"] .modal-footer {
  border-color: var(--ni-border);
}

html[data-theme="dark"] .call-to-action {
  background: var(--ni-section-bg);
}

html[data-theme="dark"] .call-to-action h2,
html[data-theme="dark"] .call-to-action-inner h2 {
  color: var(--ni-text);
}

html[data-theme="dark"] .subscribe-newsletter,
html[data-theme="dark"] .contact-info-item,
html[data-theme="dark"] .info-box {
  background: var(--ni-card-bg) !important;
  color: var(--ni-muted);
  box-shadow: var(--ni-shadow);
}

html[data-theme="dark"] .subscribe-newsletter .subscribe-newsletter-text h5,
html[data-theme="dark"] .contact-info-item h5,
html[data-theme="dark"] .info-box h5 {
  color: var(--ni-text) !important;
}

html[data-theme="dark"] .owl-dots .owl-dot span {
  background: var(--ni-border);
}

html[data-theme="dark"] .owl-dots .owl-dot.active span {
  background: var(--ni-primary);
}

/* ---------- Hero: modern composition ---------- */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 0 !important;
  padding-top: 148px;
  padding-bottom: var(--ni-section-space, 72px) !important;
  box-sizing: border-box;
  overflow: visible;
  background: transparent !important;
  background-color: transparent !important;
}

.hero-banner.mt-5 {
  margin-top: 0 !important;
}

.hero-banner::before,
.hero-banner::after {
  display: none;
}

.hero-banner > .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-banner > #heroparticles {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.hero-banner > .hero-social-list,
.hero-banner > .scroll-down-btn,
.scroll-down-btn {
  display: none !important;
}

.hero-banner > .hero-email-link {
  z-index: 2;
}

.hero-banner .row {
  justify-content: unset;
  align-items: center;
  min-height: 0;
  padding-bottom: 12px;
}

.hero-banner .hero-inner {
  position: relative;
  z-index: 2;
  padding-right: 1.25rem;
  max-width: 560px;
}

.hero-banner .hero-inner h1 {
  font-family: "Poppins", sans-serif !important;
  font-size: clamp(2.4rem, 4.2vw, 3.75rem) !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 2.5rem !important;
  max-width: 16ch;
  text-align: left;
}

.hero-banner .hero-inner .hero-title-static {
  display: block;
}

.hero-banner .hero-inner .hero-typed {
  display: block;
  white-space: nowrap;
  margin-left: 0;
  margin-top: 0.12em;
  color: var(--ni-primary, #15bf86);
  text-align: left;
}

.hero-banner .hero-inner .hero-typed__text {
  display: inline;
}

.hero-banner .hero-inner .hero-typed__cursor {
  display: inline-block;
  width: 1px;
  height: 0.9em;
  margin-left: 0.1em;
  vertical-align: -0.08em;
  background: currentColor;
  animation: hero-typed-cursor 0.8s steps(1) infinite;
}

@keyframes hero-typed-cursor {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

.hero-banner .hero-inner h2 {
  font-family: "Poppins", sans-serif !important;
  font-size: clamp(0.95rem, 1.15vw, 1.125rem) !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  letter-spacing: 0.01em;
  margin-bottom: 2rem !important;
  padding-right: 0 !important;
  max-width: 38ch;
  opacity: 0.92;
}

.hero-banner .hero-inner .white-btn {
  box-shadow: none;
  transform: none;
}

.hero-banner .hero-inner .white-btn:hover {
  transform: none;
}

.hero-banner .hero-img-resp {
  position: relative;
  z-index: 1;
  overflow: visible;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-img {
  position: relative;
  text-align: right;
  margin-top: 0;
  max-width: 100%;
  box-sizing: border-box;
  will-change: transform;
  animation: ni-img-float 6.8s ease-in-out infinite;
}

.hero-img::before {
  display: none !important;
  content: none !important;
}

.hero-img .border-line-outer,
.hero-img .border-line-inner {
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-sizing: border-box;
  max-width: 100%;
}

.hero-img .border-line-outer {
  border: none !important;
}

.hero-img img {
  width: min(560px, 100%);
  max-width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 32px !important;
  border-width: 12px !important;
  border-style: solid;
  border-color: var(--ni-primary, #15bf86) !important;
  box-shadow: 0 24px 48px rgba(21, 191, 134, 0.22);
  box-sizing: border-box;
}

.hero-img .hero-img-dark,
.theme-mode-img--dark {
  display: block !important;
}

.hero-img .hero-img-light,
.theme-mode-img--light {
  display: none !important;
}

html[data-theme="light"] .hero-img .hero-img-dark,
html[data-theme="light"] .theme-mode-img--dark {
  display: none !important;
}

html[data-theme="light"] .hero-img .hero-img-light,
html[data-theme="light"] .theme-mode-img--light {
  display: block !important;
}

@keyframes ni-img-float {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-0.7deg);
  }
  50% {
    transform: translate3d(0, -14px, 0) rotate(0.7deg);
  }
}

@keyframes ni-img-float-alt {
  0%, 100% {
    transform: translate3d(0, -6px, 0) rotate(0.55deg);
  }
  50% {
    transform: translate3d(0, 10px, 0) rotate(-0.55deg);
  }
}

@keyframes ni-portfolio-card-float {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -5px, 0);
  }
}

@keyframes ni-hero-glow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-img,
  .hero-img::before,
  .about-section .about-img,
  .skills-section .skills-img,
  .how-i-work-item .img {
    animation: none !important;
  }
}

.hero-social-list li a {
  width: auto;
  height: auto;
  display: inline;
  border-radius: 0;
  background: transparent;
  border: none;
}

.hero-social-list li a i {
  font-size: 20px !important;
}

@media (max-width: 991.98px) {
  .hero-banner {
    padding-top: 128px;
    padding-bottom: var(--ni-section-space, 56px) !important;
  }

  .hero-banner .row {
    min-height: auto;
    padding-bottom: 8px;
  }

  .hero-banner .hero-inner {
    text-align: center;
    padding-right: 0;
    max-width: none;
    margin: 0 auto 1.5rem;
  }

  .hero-banner .hero-inner h1,
  .hero-banner .hero-inner h2,
  .hero-banner .hero-inner .hero-title-static,
  .hero-banner .hero-inner .hero-typed {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    text-align: center !important;
  }

  .hero-banner .hero-inner .hero-typed {
    white-space: normal;
  }

  .hero-banner .hero-img-resp {
    justify-content: center;
    overflow: visible;
  }

  .hero-img {
    text-align: center;
  }

  .hero-img img {
    width: 340px;
  }
}

@media (max-width: 575.98px) {
  .hero-banner .hero-inner h1 {
    font-size: 2.15rem !important;
  }

  .hero-img img {
    width: 270px;
  }
}

/* ---------- Hero: light mode ---------- */
html[data-theme="light"] .hero-banner {
  background: transparent !important;
}

html[data-theme="light"] .hero-banner .hero-inner h1 {
  color: var(--ni-primary, #15bf86) !important;
}

html[data-theme="light"] .hero-banner .hero-inner h2 {
  color: #5a6660 !important;
}

html[data-theme="light"] .hero-social-list li a {
  background: transparent;
  border: none;
}

html[data-theme="light"] .hero-social-list li a i,
html[data-theme="light"] .scroll-down-btn,
html[data-theme="light"] .hero-email-link {
  color: #171718 !important;
}

html[data-theme="light"] .hero-social-list li a:hover i,
html[data-theme="light"] .scroll-down-btn:hover,
html[data-theme="light"] .hero-email-link:hover {
  color: var(--ni-primary) !important;
}

html[data-theme="light"] .scroll-down-btn:after,
html[data-theme="light"] .hero-email-link:after {
  background: #171718 !important;
}

/* Remove SCROLL DOWN decorative lines */
.scroll-down-btn:before,
.scroll-down-btn:after,
body.rtl-mode .scroll-down-btn:before,
body.rtl-mode .scroll-down-btn:after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  background: none !important;
}

html[data-theme="light"] .hero-img .border-line-outer,
html[data-theme="light"] .hero-img .border-line-inner {
  border: none !important;
}

/* Transparent header over light hero */
html[data-theme="light"] .header:not(.header-shrink) .nav-item .nav-link {
  color: #171718 !important;
}

html[data-theme="light"] .header:not(.header-shrink) .navbar-toggler .togler-icon-inner span {
  background: #171718 !important;
}

html[data-theme="light"] .header:not(.header-shrink) .theme-mode-toggle {
  border: none;
  background: transparent !important;
  color: #171718;
}

/* ---------- Hero: dark mode ---------- */
html[data-theme="dark"] .hero-banner {
  background: transparent !important;
}

html[data-theme="dark"] .hero-banner .hero-inner h1 {
  color: #f5faf7 !important;
}

html[data-theme="dark"] .hero-banner .hero-inner h2 {
  color: rgba(241, 245, 243, 0.72) !important;
}

html[data-theme="dark"] .hero-social-list li a {
  background: transparent;
  border: none;
}

html[data-theme="dark"] .hero-social-list li a i,
html[data-theme="dark"] .scroll-down-btn,
html[data-theme="dark"] .hero-email-link {
  color: #fff !important;
}

html[data-theme="dark"] .hero-social-list li a:hover i {
  color: var(--ni-primary) !important;
}

html[data-theme="dark"] .hero-img .border-line-outer,
html[data-theme="dark"] .hero-img .border-line-inner {
  border: none !important;
}

/* ---------- Footer: light mode = light bg ---------- */
html[data-theme="light"] .footer {
  background: #eef5f1 !important;
  background-color: #eef5f1 !important;
  border-top: 1px solid rgba(18, 120, 88, 0.14);
}

html[data-theme="light"] .footer .footer-top .footer-widget .footer-desc,
html[data-theme="light"] .footer .footer-top .footer-widget .footer-contact-info-list li p,
html[data-theme="light"] .footer .footer-top .footer-widget .footer-links li a,
html[data-theme="light"] .footer .footer-bottom,
html[data-theme="light"] .footer .footer-bottom p,
html[data-theme="light"] .footer .footer-bottom a,
html[data-theme="light"] .footer a,
html[data-theme="light"] .footer p,
html[data-theme="light"] .footer li {
  color: #3d4a43 !important;
}

html[data-theme="light"] .footer .footer-top .footer-widget .footer-title,
html[data-theme="light"] .footer h6 {
  color: #12201b !important;
}

html[data-theme="light"] .footer .footer-top .footer-widget .footer-contact-info-list li h6 {
  color: #12201b !important;
  font-weight: 600 !important;
}

html[data-theme="light"] .footer .footer-contact-info-list li p,
html[data-theme="light"] .footer .footer-contact-info-list li p a {
  color: #5a675f !important;
}

html[data-theme="light"] .footer .footer-contact-info-list li p a:hover {
  color: var(--ni-primary, #15bf86) !important;
}

html[data-theme="light"] .footer .footer-top .footer-widget .footer-links li a:hover {
  color: var(--ni-primary, #15bf86) !important;
}

html[data-theme="light"] .footer .copyright {
  background: rgba(18, 60, 45, 0.045) !important;
  background-color: rgba(18, 60, 45, 0.045) !important;
  border-top: 1px solid rgba(18, 120, 88, 0.12) !important;
}

html[data-theme="light"] .footer .copyright .copyright-text {
  color: #5a675f !important;
  opacity: 1;
}

html[data-theme="light"] .footer .footer-top .footer-widget .footer-social-links a {
  border: none !important;
  color: #3d4a43 !important;
  background: transparent !important;
}

html[data-theme="light"] .footer .footer-top .footer-widget .footer-social-links a i {
  color: #0d8f63 !important;
  background: #ffffff !important;
  border: 1px solid rgba(18, 120, 88, 0.22) !important;
  box-shadow: 0 4px 12px rgba(18, 60, 45, 0.08);
}

html[data-theme="light"] .footer .footer-top .footer-widget .footer-social-links a span {
  color: #3d4a43 !important;
  font-weight: 500;
}

html[data-theme="light"] .footer .footer-top .footer-widget .footer-social-links a:hover {
  border: none !important;
}

html[data-theme="light"] .footer .footer-top .footer-widget .footer-social-links a:hover i {
  background: var(--ni-primary, #15bf86) !important;
  color: #fff !important;
  border-color: var(--ni-primary, #15bf86) !important;
  box-shadow: 0 6px 16px rgba(21, 191, 134, 0.28);
}

html[data-theme="light"] .footer .footer-top .footer-widget .footer-social-links a:hover span {
  color: var(--ni-primary, #15bf86) !important;
}

html[data-theme="light"] .footer .footer-top .footer-widget .footer-links li a i,
html[data-theme="light"] .footer .footer-top .footer-widget .footer-contact-info-list li > i {
  color: #0d8f63 !important;
  background: #ffffff !important;
  border: 1px solid rgba(18, 120, 88, 0.22) !important;
  box-shadow: 0 4px 12px rgba(18, 60, 45, 0.08);
}

html[data-theme="light"] .footer .footer-top .footer-widget .footer-links li a:hover i {
  background: var(--ni-primary, #15bf86) !important;
  color: #fff !important;
  border-color: var(--ni-primary, #15bf86) !important;
  box-shadow: 0 6px 16px rgba(21, 191, 134, 0.28);
}

html[data-theme="light"] .footer .footer-top .footer-widget .footer-links li a span {
  color: #3d4a43 !important;
  font-weight: 500;
}

html[data-theme="light"] .footer .footer-top .footer-widget .footer-links li a:hover span {
  color: var(--ni-primary, #15bf86) !important;
}

html[data-theme="light"] .footer .footer-logo {
  filter: none;
}

html[data-theme="light"] .footer .footer-logo-white {
  display: none !important;
}

html[data-theme="light"] .footer .footer-logo-colored {
  display: inline-block !important;
}

html[data-theme="dark"] .footer .footer-logo-colored {
  display: none !important;
}

html[data-theme="dark"] .footer .footer-logo-white {
  display: inline-block !important;
}

/* Prefer colored logo in light footer if both exist via CSS swap isn't possible;
   ensure text contrast is readable. */
html[data-theme="light"] .footer .footer-bottom {
  border-top-color: rgba(18, 120, 88, 0.12) !important;
}

/* ---------- Footer: dark mode ---------- */
html[data-theme="dark"] .footer {
  background: transparent !important;
  border-top: 1px solid rgba(21, 191, 134, 0.12);
}

html[data-theme="dark"] .footer .footer-desc,
html[data-theme="dark"] .footer a,
html[data-theme="dark"] .footer p,
html[data-theme="dark"] .footer li {
  color: #a7b5ad !important;
}

html[data-theme="dark"] .footer .footer-title,
html[data-theme="dark"] .footer h6 {
  color: #f1f5f3 !important;
}

.footer .footer-top .footer-widget .footer-title:after,
html[data-theme="dark"] .footer .footer-top .footer-widget .footer-title:after,
html[data-theme="light"] .footer .footer-top .footer-widget .footer-title:after {
  background: var(--ni-primary, #15bf86) !important;
}

html[data-theme="dark"] .footer .footer-contact-info-list li h6 {
  color: #b7c4bc !important;
  font-weight: 500 !important;
}

html[data-theme="dark"] .footer .footer-contact-info-list li p,
html[data-theme="dark"] .footer .footer-contact-info-list li p a {
  color: #8fa098 !important;
}

html[data-theme="dark"] .footer .footer-top .footer-widget .footer-links li a:hover {
  color: var(--ni-primary, #15bf86) !important;
}

html[data-theme="dark"] .footer .copyright {
  border-top-color: rgba(255, 255, 255, 0.06) !important;
}

html[data-theme="dark"] .footer .copyright .copyright-text {
  color: #7d8a83 !important;
  opacity: 1;
}

html[data-theme="dark"] .footer .footer-top .footer-widget .footer-social-links a {
  border: none !important;
  color: #a7b5ad !important;
  background: transparent !important;
}

html[data-theme="dark"] .footer .footer-top .footer-widget .footer-social-links a i {
  color: var(--ni-primary, #15bf86) !important;
  background: #121815 !important;
  border: 1px solid rgba(21, 191, 134, 0.35) !important;
}

html[data-theme="dark"] .footer .footer-top .footer-widget .footer-social-links a span {
  color: #a7b5ad !important;
}

html[data-theme="dark"] .footer .footer-top .footer-widget .footer-social-links a:hover {
  border: none !important;
}

html[data-theme="dark"] .footer .footer-top .footer-widget .footer-social-links a:hover i {
  background: var(--ni-primary, #15bf86) !important;
  color: #0b0f0d !important;
  border-color: var(--ni-primary, #15bf86) !important;
}

html[data-theme="dark"] .footer .footer-top .footer-widget .footer-social-links a:hover span {
  color: var(--ni-primary, #15bf86) !important;
}

html[data-theme="dark"] .footer .footer-top .footer-widget .footer-links li a i,
html[data-theme="dark"] .footer .footer-top .footer-widget .footer-contact-info-list li > i {
  color: #5ee4b0 !important;
  background: rgba(94, 228, 176, 0.1) !important;
  border: 1px solid rgba(94, 228, 176, 0.35) !important;
}

html[data-theme="dark"] .footer .footer-top .footer-widget .footer-links li a:hover i {
  background: var(--ni-primary, #15bf86) !important;
  color: #0b0f0d !important;
  border-color: var(--ni-primary, #15bf86) !important;
}

@media (max-width: 991.98px) {
  html[data-theme="dark"] .header .main-menu,
  html[data-theme="light"] .header .main-menu,
  .header .main-menu {
    background: #0b1210 !important;
    border-top: 1px solid rgba(21, 191, 134, 0.16);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
    padding: 10px 14px 22px;
    max-height: min(78vh, calc(100dvh - 64px));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  html[data-theme="light"] .header .main-menu {
    background: #f4faf7 !important;
    border-top-color: rgba(15, 28, 23, 0.08);
    box-shadow: 0 18px 40px rgba(15, 28, 23, 0.12);
  }

  .header .main-menu .navbar-nav {
    text-align: left;
    max-height: none !important;
    overflow: visible !important;
    padding: 4px 0 8px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .header .main-menu .navbar-nav .nav-item {
    width: 100%;
    margin: 0;
  }

  .header .main-menu .navbar-nav .nav-item:nth-child(6) .nav-link {
    border-bottom: none !important;
  }

  .header .main-menu .navbar-nav .nav-link,
  html[data-theme="dark"] .header .main-menu .navbar-nav .nav-link,
  html[data-theme="light"] .header .main-menu .navbar-nav .nav-link {
    position: relative;
    display: block;
    width: 100%;
    text-align: left !important;
    justify-content: flex-start;
    color: rgba(243, 244, 246, 0.82) !important;
    background: transparent !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 13px 16px 13px 18px !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em;
    line-height: 1.35 !important;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  }

  html[data-theme="light"] .header .main-menu .navbar-nav .nav-link {
    color: rgba(15, 28, 23, 0.78) !important;
  }

  .header .main-menu .navbar-nav .nav-link:after {
    display: none !important;
  }

  .header .main-menu .navbar-nav .nav-link.active,
  html[data-theme="dark"] .header .main-menu .navbar-nav .nav-link.active,
  html[data-theme="light"] .header .main-menu .navbar-nav .nav-link.active {
    background: rgba(21, 191, 134, 0.14) !important;
    color: #5ee4b0 !important;
    box-shadow: inset 3px 0 0 var(--ni-primary, #15bf86);
  }

  html[data-theme="light"] .header .main-menu .navbar-nav .nav-link.active {
    background: rgba(21, 191, 134, 0.12) !important;
    color: #0f8f63 !important;
  }

  .header .main-menu .navbar-nav .nav-link:not(.active):hover,
  html[data-theme="dark"] .header .main-menu .navbar-nav .nav-link:not(.active):hover,
  html[data-theme="light"] .header .main-menu .navbar-nav .nav-link:not(.active):hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #fff !important;
    border-color: transparent !important;
  }

  html[data-theme="light"] .header .main-menu .navbar-nav .nav-link:not(.active):hover {
    background: rgba(15, 28, 23, 0.05) !important;
    color: #0f1c17 !important;
  }

  .header .main-menu .nav-item .dropdown-menu {
    background: transparent !important;
    text-align: left;
    border: none !important;
    padding: 0 0 4px 10px !important;
    margin: 0 !important;
  }

  .header .main-menu .nav-item .dropdown-menu .dropdown-item {
    border-radius: 10px;
    padding: 10px 14px;
    color: rgba(243, 244, 246, 0.7);
  }

  .header .main-menu .nav-item .dropdown-menu .dropdown-item:hover {
    background: rgba(21, 191, 134, 0.14) !important;
    color: #5ee4b0 !important;
  }

  html[data-theme="dark"] .theme-mode-toggle,
  html[data-theme="light"] .theme-mode-toggle {
    border: none;
    background: transparent !important;
    color: var(--ni-text);
  }

  .header .header-mobile-actions {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin-left: auto;
    padding-right: 8px;
    position: relative;
    z-index: 1031;
  }

  .header .header-mobile-actions .theme-mode-toggle {
    margin: 0 2px 0 0 !important;
    color: #fff !important;
    min-width: 36px;
    min-height: 36px;
  }

  html[data-theme="light"] .header .header-mobile-actions .theme-mode-toggle {
    color: #171718 !important;
  }

  .header .header-mobile-actions .navbar-toggler {
    margin: 0;
    padding-right: 8px;
  }

  .header .header-lang-item {
    padding: 8px 4px 4px;
    text-align: left;
  }

  html[data-theme="dark"] .lang-toggle,
  html[data-theme="light"] .lang-toggle {
    border-color: rgba(23, 23, 24, 0.14);
    background: rgba(23, 23, 24, 0.04);
    margin-left: 0;
    margin-right: 0;
  }

  html[data-theme="dark"] .lang-toggle {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
  }

  html[data-theme="dark"] .lang-toggle-btn,
  html[data-theme="light"] .lang-toggle-btn {
    color: var(--ni-muted);
  }

  html[data-theme="dark"] .lang-toggle-btn.active,
  html[data-theme="light"] .lang-toggle-btn.active {
    color: #fff;
    background: var(--ni-primary, #15bf86);
  }
}

/* ---------- Counters: match other sections ---------- */
#counters.counters-section,
.counters-section,
html[data-theme="dark"] #counters.counters-section,
html[data-theme="dark"] .counters-section,
html[data-theme="light"] #counters.counters-section,
html[data-theme="light"] .counters-section {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

.counters-section-bg,
html[data-theme="dark"] .counters-section-bg,
html[data-theme="light"] .counters-section-bg {
  display: none !important;
  background: none !important;
  opacity: 0 !important;
}

html[data-theme="dark"] .counter-item {
  background: var(--ni-glass) !important;
  border-color: var(--ni-glass-border, #2a3530) !important;
  box-shadow: var(--ni-glass-shadow) !important;
  color: var(--ni-text) !important;
}

html[data-theme="dark"] .counter-item:hover {
  background: var(--ni-glass-hover) !important;
  border-color: rgba(21, 191, 134, 0.42) !important;
}

html[data-theme="dark"] .counter-item h3,
html[data-theme="dark"] .counter-item p,
html[data-theme="dark"] .counters-heading h2 {
  color: var(--ni-text, #f1f5f3) !important;
}

html[data-theme="light"] .counter-item {
  background: #ffffff !important;
  background-image: none !important;
  border-color: rgba(18, 120, 88, 0.14) !important;
  box-shadow: 0 10px 28px rgba(18, 60, 45, 0.06) !important;
  color: var(--ni-text, #171718) !important;
}

html[data-theme="light"] .counter-item:hover {
  background: #ffffff !important;
  background-image: none !important;
  border-color: rgba(21, 191, 134, 0.35) !important;
}

html[data-theme="light"] .counter-item:before {
  background: rgba(21, 191, 134, 0.35) !important;
}

html[data-theme="light"] .counter-item .counter-item-index {
  color: var(--ni-primary, #15bf86) !important;
}

html[data-theme="light"] .counter-item h3,
html[data-theme="light"] .counter-item h3.counter,
html[data-theme="light"] .counter-item-value .counter {
  color: var(--ni-primary, #15bf86) !important;
}

html[data-theme="light"] .counter-item p {
  color: var(--ni-muted, #6d7077) !important;
}

html[data-theme="light"] .counters-heading h2,
html[data-theme="light"] .section-heading.light.counters-heading h2 {
  color: var(--ni-primary, #15bf86) !important;
}

html[data-theme="light"] .counters-heading h2:after,
html[data-theme="light"] .section-heading.light.counters-heading h2:after {
  background: var(--ni-primary, #15bf86) !important;
}

.counters-section {
  position: relative;
  overflow: hidden;
}

.counter-item {
  padding: 36px 24px 32px !important;
  border-radius: 28px !important;
  overflow: hidden;
}

.counter-item:before {
  left: 28% !important;
  right: 28% !important;
  height: 3px !important;
  background: linear-gradient(90deg, transparent, var(--ni-primary, #15bf86), transparent) !important;
}

.counter-item-index {
  display: none !important;
}

.counter-item-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 16px;
  background: rgba(21, 191, 134, 0.12);
  color: var(--ni-primary, #15bf86);
  font-size: 1.25rem;
}

.counter-item-value {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  margin-bottom: 10px;
}

.counter-item-value .counter,
.counter-item h3.counter {
  font-size: clamp(2.6rem, 4.2vw, 3.5rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
  line-height: 1 !important;
  margin: 0 !important;
}

.counter-suffix {
  color: var(--ni-primary, #15bf86);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  margin-top: 4px;
}

.counter-item p {
  font-size: 0.95rem !important;
  font-weight: 500 !important;
}

.counter-item:hover {
  transform: translateY(-8px);
}

.counter-item:hover .counter-item-icon {
  background: rgba(21, 191, 134, 0.12);
  color: var(--ni-primary, #15bf86);
  border: none !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .counter-item-icon {
  background: rgba(21, 191, 134, 0.16);
}

/* ---------- How We Work: light / white mode ---------- */
html[data-theme="light"] .section.bg-dark-blue {
  background: transparent !important;
}

html[data-theme="light"] .bg-dark-blue .section-heading h2 {
  color: var(--ni-primary, #15bf86) !important;
}

html[data-theme="light"] .bg-dark-blue .section-heading h2:after {
  background: var(--ni-primary, #15bf86) !important;
}

html[data-theme="light"] .bg-dark-blue .section-heading span {
  color: #fff !important;
  background: var(--ni-primary, #15bf86) !important;
}

html[data-theme="light"] .how-i-work-item .number span {
  background: var(--ni-primary, #15bf86) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(21, 191, 134, 0.28);
}

html[data-theme="light"] .how-i-work-item .text {
  background: var(--ni-glass) !important;
  box-shadow: var(--ni-glass-shadow) !important;
  border: 1px solid var(--ni-glass-border) !important;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

html[data-theme="light"] .how-i-work-item .text:after {
  border-color: transparent transparent #fff transparent !important;
}

html[data-theme="light"] .how-i-work-item .text h5 {
  color: var(--ni-text, #171718) !important;
}

html[data-theme="light"] .how-i-work-item:hover .number span {
  background: var(--ni-primary, #15bf86) !important;
  color: #fff !important;
}

html[data-theme="light"] .how-i-work-item:hover .img img {
  border: 0 !important;
  box-shadow: none !important;
}

html[data-theme="light"] .how-i-work-item:hover .text {
  background: var(--ni-glass-hover) !important;
  background-color: transparent !important;
  border-color: rgba(21, 191, 134, 0.42) !important;
}

html[data-theme="light"] .how-i-work-item:hover .text:after {
  border-color: transparent transparent transparent transparent !important;
}

html[data-theme="light"] .how-i-work-item:hover .text h5 {
  color: var(--ni-text, #171718) !important;
}

html[data-theme="light"] .how-i-work-item:hover .number-border:after,
html[data-theme="light"] .how-i-work-item:hover .number-border:before {
  border-color: var(--ni-primary, #15bf86) !important;
}

.how-i-work-item {
  margin-bottom: 48px;
}

.how-i-work-item .img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 236px;
  height: 236px;
  margin: 0 auto 32px !important;
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(21, 191, 134, 0.28) 0%, rgba(255, 255, 255, 0.08) 42%, rgba(7, 12, 10, 0.22) 100%) !important;
  border: 1px solid rgba(21, 191, 134, 0.32);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  will-change: transform;
  animation: ni-img-float 6.8s ease-in-out infinite;
}

.ni-work-process-row .col-md-4:nth-child(2) .how-i-work-item .img {
  animation-name: ni-img-float-alt;
  animation-duration: 7.4s;
  animation-delay: 0.45s;
}

.ni-work-process-row .col-md-4:nth-child(3) .how-i-work-item .img {
  animation-duration: 7.1s;
  animation-delay: 0.9s;
}

.how-i-work-item .img img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: contain;
  padding: 4px;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 50%;
  mix-blend-mode: multiply;
}

.how-i-work-item .number,
.how-i-work-item .number-border {
  display: none !important;
}

.how-i-work-item .text {
  max-width: 230px;
  margin-left: auto;
  margin-right: auto;
  padding: 14px 28px !important;
  border-radius: 999px !important;
  background: var(--ni-glass) !important;
  background-color: transparent !important;
  border: 1px solid var(--ni-glass-border) !important;
  box-shadow: var(--ni-glass-shadow) !important;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.how-i-work-item .text:after {
  display: none !important;
}

.how-i-work-item:hover .number span,
html[data-theme="light"] .how-i-work-item:hover .number span {
  background: var(--ni-primary, #15bf86) !important;
  color: #fff !important;
  border-color: var(--ni-primary, #15bf86) !important;
  box-shadow: 0 8px 22px rgba(21, 191, 134, 0.4);
}

.how-i-work-item:hover {
  z-index: 6;
}

.how-i-work-item:hover .img {
  border-color: rgba(21, 191, 134, 0.55);
  box-shadow: 0 20px 48px rgba(21, 191, 134, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  background: linear-gradient(160deg, rgba(21, 191, 134, 0.38) 0%, rgba(255, 255, 255, 0.12) 42%, rgba(7, 12, 10, 0.16) 100%) !important;
}

.how-i-work-item:hover .img img {
  transform: translateY(-2px) scale(1.02);
  border: 0 !important;
  box-shadow: none !important;
}

.how-i-work-item:hover .text {
  background: var(--ni-glass-hover) !important;
  background-color: transparent !important;
  border-color: rgba(21, 191, 134, 0.42) !important;
}

.ni-work-process-row .col-md-4 {
  position: relative;
}

.ni-work-process-row .col-md-4:not(:last-child) .how-i-work-item::after {
  content: "";
  position: absolute;
  top: 52px;
  left: calc(50% + 126px);
  width: min(160px, calc(50% + 40px));
  height: 90px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 70' fill='none'%3E%3Cpath d='M8 52C48 10 132 10 158 46' stroke='%2315bf86' stroke-width='2' stroke-dasharray='6 8' stroke-linecap='round' opacity='.85'/%3E%3Cpath d='M146 32l16 18-24 0' stroke='%2315bf86' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='8' cy='52' r='3.4' fill='%2315bf86'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
  z-index: 4;
  filter: drop-shadow(0 0 10px rgba(21, 191, 134, 0.35));
}

html[data-theme="light"] .how-i-work-item .number span {
  background: var(--ni-primary, #15bf86) !important;
  color: #fff !important;
  border-color: #fff;
  box-shadow: 0 10px 24px rgba(21, 191, 134, 0.28);
}

html[data-theme="light"] .how-i-work-item .img {
  background: linear-gradient(160deg, rgba(21, 191, 134, 0.22) 0%, rgba(255, 255, 255, 0.42) 44%, rgba(232, 246, 239, 0.28) 100%) !important;
  border-color: rgba(21, 191, 134, 0.24);
  box-shadow: 0 16px 36px rgba(21, 191, 134, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

html[data-theme="light"] .how-i-work-item .img img {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  mix-blend-mode: multiply;
}

html[data-theme="light"] .how-i-work-item:hover .img {
  background: linear-gradient(160deg, rgba(21, 191, 134, 0.3) 0%, rgba(255, 255, 255, 0.55) 44%, rgba(232, 246, 239, 0.22) 100%) !important;
  border-color: rgba(21, 191, 134, 0.4);
}

@media (max-width: 1199.98px) {
  .how-i-work-item .img {
    width: 200px;
    height: 200px;
  }

  .ni-work-process-row .col-md-4:not(:last-child) .how-i-work-item::after {
    top: 40px;
    left: calc(50% + 108px);
    width: min(130px, calc(50% + 24px));
    height: 80px;
  }
}

@media (max-width: 991.98px) {
  .how-i-work-item .img {
    width: 176px;
    height: 176px;
  }
}

@media (max-width: 767.98px) {
  .how-i-work-item .img {
    width: 220px;
    height: 220px;
  }

  .ni-work-process-row .col-md-4:not(:last-child) .how-i-work-item::after {
    display: none;
  }
}

/* ---------- Team cards: light ---------- */
html[data-theme="light"] .team-card .body,
html[data-theme="light"] .team-card:hover .body {
  background: #ffffff !important;
  background-image: none !important;
  background-color: #ffffff !important;
  box-shadow: 0 10px 28px rgba(18, 60, 45, 0.06) !important;
  border: 1px solid rgba(18, 120, 88, 0.14) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-theme="light"] .team-card:hover .body {
  border-color: rgba(21, 191, 134, 0.35) !important;
  box-shadow: 0 14px 32px rgba(18, 60, 45, 0.09) !important;
}

html[data-theme="light"] .team-card .img,
html[data-theme="light"] .team-card:hover .img {
  border-color: #15bf86 !important;
  box-shadow: 0 8px 20px rgba(21, 191, 134, 0.2);
  background: #ffffff !important;
  background-image: none !important;
}

html[data-theme="light"] .team-card .body .text h5,
html[data-theme="light"] .team-card:hover .body .text h5 {
  color: var(--ni-text, #171718) !important;
}

html[data-theme="light"] .team-card .body .text p,
html[data-theme="light"] .team-card:hover .body .text p {
  color: #0d8f63 !important;
}

html[data-theme="light"] .team-card .body .social ul li a,
html[data-theme="light"] .team-card:hover .body .social ul li a {
  border-color: #15bf86 !important;
  background: #ffffff !important;
  background-image: none !important;
}

html[data-theme="light"] .team-card .body .social ul li a i,
html[data-theme="light"] .team-card:hover .body .social ul li a i {
  color: #0d8f63 !important;
  background: transparent !important;
}

html[data-theme="light"] .team-card .body .social ul li a:hover {
  border-color: var(--ni-primary, #15bf86) !important;
  background: #15bf86 !important;
  background-image: none !important;
}

html[data-theme="light"] .team-card .body .social ul li a:hover i {
  color: #fff !important;
  background: transparent !important;
}

/* ---------- Team cards: dark ---------- */
html[data-theme="dark"] .team-card .body {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07) 0%, rgba(21, 191, 134, 0.12) 46%, rgba(7, 12, 10, 0.28) 100%) !important;
  background-color: transparent !important;
  border: 1px solid rgba(21, 191, 134, 0.22) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

html[data-theme="dark"] .team-card .img {
  border-color: rgba(21, 191, 134, 0.28) !important;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.08) 0%, rgba(21, 191, 134, 0.12) 100%) !important;
}

html[data-theme="dark"] .team-card .body .text h5 {
  color: #f1f5f3 !important;
}

html[data-theme="dark"] .team-card .body .text p {
  color: var(--ni-primary, #15bf86) !important;
}

html[data-theme="dark"] .team-card .body .social ul li a {
  border-color: rgba(21, 191, 134, 0.32) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

html[data-theme="dark"] .team-card .body .social ul li a i {
  color: var(--ni-primary, #15bf86) !important;
  background: transparent !important;
}

html[data-theme="dark"] .team-card:hover .body {
  background: linear-gradient(165deg, rgba(21, 191, 134, 0.28) 0%, rgba(255, 255, 255, 0.08) 48%, rgba(7, 12, 10, 0.18) 100%) !important;
  border-color: rgba(21, 191, 134, 0.45) !important;
  box-shadow: 0 18px 44px rgba(21, 191, 134, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

html[data-theme="dark"] .team-card:hover .img {
  border-color: rgba(21, 191, 134, 0.5) !important;
}

html[data-theme="dark"] .team-card:hover .body .text h5 {
  color: #fff !important;
}

html[data-theme="dark"] .team-card:hover .body .text p {
  color: var(--ni-primary, #15bf86) !important;
}

html[data-theme="dark"] .team-card:hover .body .social ul li a {
  border-color: rgba(21, 191, 134, 0.5) !important;
}

html[data-theme="dark"] .team-card:hover .body .social ul li a i {
  color: #fff !important;
  background: transparent !important;
}

html[data-theme="dark"] .team-card .body .social ul li a:hover {
  background: linear-gradient(165deg, rgba(21, 191, 134, 0.7) 0%, rgba(21, 191, 134, 0.28) 100%) !important;
  border-color: rgba(21, 191, 134, 0.6) !important;
}

html[data-theme="dark"] .team-card .body .social ul li a:hover i {
  color: #fff !important;
}

@media (max-width: 767.98px) {
  .counters-section {
    padding-top: var(--ni-section-space, 56px) !important;
    padding-bottom: var(--ni-section-space, 56px) !important;
  }

  .counter-item {
    padding: 28px 22px 24px;
    border-radius: 20px;
  }
}

/* ---------- Site-wide modern polish ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  overflow-anchor: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(21, 191, 134, 0.55) transparent;
}

html[data-theme="light"] {
  scrollbar-color: rgba(21, 191, 134, 0.7) rgba(228, 243, 236, 0.9);
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

html[data-theme="dark"] ::-webkit-scrollbar-track {
  background: rgba(7, 12, 10, 0.65);
}

html[data-theme="light"] ::-webkit-scrollbar-track {
  background: rgba(228, 243, 236, 0.95);
}

::-webkit-scrollbar-thumb {
  background: rgba(21, 191, 134, 0.5);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(21, 191, 134, 0.85);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

.section,
.section.pb-minus-70,
.section.pb-minus-76,
.section.pb-0,
.section.pb-30,
.about-section,
.counters-section,
.contact-section,
.skills-section {
  padding: var(--ni-section-space, 72px) 0 !important;
  position: relative;
}

.hero-banner {
  padding-bottom: var(--ni-section-space, 72px) !important;
}

.hero-banner + .about-section,
.hero-banner + * + .about-section {
  padding-top: var(--ni-section-space, 72px) !important;
  margin-top: 0;
}

.section .section-heading {
  margin-bottom: 54px;
  text-align: left !important;
}

.page-faq-section {
  padding-top: calc(var(--ni-section-space, 72px) + 24px) !important;
}

.page-faq-heading {
  margin-bottom: 36px !important;
}

.page-faq-heading h1 {
  position: relative;
  display: inline-block;
  margin: 0;
  padding-bottom: 18px;
  font-size: clamp(1.85rem, 2.6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ni-text, #171718);
}

.page-faq-heading h1:before,
.page-faq-heading h1:after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--ni-primary, #15bf86) !important;
}

.page-faq-heading h1:before {
  left: 0;
  width: 20px;
}

.page-faq-heading h1:after {
  left: 30px;
  width: 40px;
}

html[data-theme="dark"] .page-faq-heading h1 {
  color: var(--ni-text, #f1f5f3) !important;
}

.section .section-heading h2,
.section .section-heading-left h2 {
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-align: left !important;
}

.section .section-heading h2:before,
.section .section-heading h2:after,
.section .section-heading-left h2:before,
.section .section-heading-left h2:after {
  height: 3px;
  border-radius: 999px;
  background: var(--ni-primary, #15bf86) !important;
}

.section .section-heading h2:before {
  content: "";
  position: absolute;
  left: 0 !important;
  bottom: 0;
  width: 20px;
  transform: none !important;
  -webkit-transform: none !important;
}

.section .section-heading h2:after {
  width: 40px;
  left: 30px !important;
  transform: none !important;
  -webkit-transform: none !important;
}

.section .section-heading span,
.section .section-heading-left span {
  display: none !important;
}

.section .section-heading-left {
  margin-bottom: 54px;
}

.section-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  min-height: 0;
  margin-bottom: 0;
}

.section-carousel-nav .owl-nav {
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  text-align: right !important;
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 14px !important;
}

/* Title + circular arrows (Testimonials / Blogs) */
.ni-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin-bottom: 54px;
  position: relative;
}

.ni-section-head .section-heading-left,
.ni-section-head .section-heading {
  margin-bottom: 0 !important;
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100% - 110px);
}

.ni-section-head .section-heading-left h2,
.ni-section-head .section-heading h2 {
  margin-bottom: 0 !important;
  width: auto !important;
  max-width: 100%;
  display: inline-block !important;
}

.ni-section-head .section-carousel-nav {
  flex: 0 0 auto;
  align-self: center;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
  transform: none;
  background: transparent;
}

/* Owl navContainer appends buttons directly into #...Nav (no nested .owl-nav) */
#blogCarouselNav,
#testimonialCarouselNav,
.ni-section-head .section-carousel-nav,
#blogCarouselNav.owl-nav,
#testimonialCarouselNav.owl-nav {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 12px !important;
  position: relative;
  z-index: 2;
  margin: 0 0 15px !important;
  width: auto !important;
}

#blogCarouselNav button,
#testimonialCarouselNav button,
.ni-section-head .section-carousel-nav button,
#blogCarouselNav [class*="owl-"],
#testimonialCarouselNav [class*="owl-"],
.ni-section-head .section-carousel-nav [class*="owl-"] {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  border: 1.5px solid rgba(21, 191, 134, 0.7) !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #fff !important;
  font-size: 0 !important;
  line-height: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  transition: border-color 0.2s ease, background-color 0.2s ease !important;
  transform: none !important;
  position: relative;
  z-index: 2;
}

#blogCarouselNav button:hover,
#testimonialCarouselNav button:hover,
.ni-section-head .section-carousel-nav button:hover {
  border-color: var(--ni-primary, #15bf86) !important;
  background: rgba(21, 191, 134, 0.1) !important;
  background-image: none !important;
  box-shadow: none !important;
  transform: none !important;
  color: #23e0a3 !important;
}

#blogCarouselNav button i,
#testimonialCarouselNav button i,
.ni-section-head .section-carousel-nav button i,
#blogCarouselNav button span,
#testimonialCarouselNav button span,
.ni-section-head .section-carousel-nav button span {
  display: none !important;
}

#blogCarouselNav button::before,
#testimonialCarouselNav button::before,
.ni-section-head .section-carousel-nav button::before {
  content: "" !important;
  width: 7px !important;
  height: 7px !important;
  border-top: 1.5px solid #fff !important;
  border-right: 1.5px solid #fff !important;
  display: block !important;
  background: none !important;
}

#blogCarouselNav button.owl-next::before,
#testimonialCarouselNav button.owl-next::before,
.ni-section-head .section-carousel-nav button.owl-next::before {
  transform: rotate(45deg) !important;
  margin-left: -2px;
}

#blogCarouselNav button.owl-prev::before,
#testimonialCarouselNav button.owl-prev::before,
.ni-section-head .section-carousel-nav button.owl-prev::before {
  transform: rotate(-135deg) !important;
  margin-right: -2px;
}

html[data-theme="light"] #blogCarouselNav button,
html[data-theme="light"] #testimonialCarouselNav button,
html[data-theme="light"] .ni-section-head .section-carousel-nav button {
  background: transparent !important;
  border: 1.5px solid rgba(21, 191, 134, 0.7) !important;
  box-shadow: none !important;
  color: #0d8f63 !important;
}

html[data-theme="light"] #blogCarouselNav button:hover,
html[data-theme="light"] #testimonialCarouselNav button:hover,
html[data-theme="light"] .ni-section-head .section-carousel-nav button:hover {
  background: rgba(21, 191, 134, 0.08) !important;
}

html[data-theme="light"] #blogCarouselNav button::before,
html[data-theme="light"] #testimonialCarouselNav button::before,
html[data-theme="light"] .ni-section-head .section-carousel-nav button::before {
  border-top-color: #0d8f63 !important;
  border-right-color: #0d8f63 !important;
}

@media (max-width: 991.98px) {
  .ni-section-head {
    margin-bottom: 36px;
    gap: 0.75rem;
  }

  #blogCarouselNav button,
  #testimonialCarouselNav button,
  .ni-section-head .section-carousel-nav button {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }

  #blogCarouselNav,
  #testimonialCarouselNav,
  .ni-section-head .section-carousel-nav {
    gap: 10px !important;
  }
}

@media (max-width: 575.98px) {
  .ni-section-head {
    margin-bottom: 24px;
    gap: 0.55rem;
  }

  .ni-section-head .section-heading-left h2,
  .ni-section-head .section-heading h2 {
    font-size: 1.45rem !important;
  }

  #blogCarouselNav button,
  #testimonialCarouselNav button,
  .ni-section-head .section-carousel-nav button {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
  }

  #blogCarouselNav button::before,
  #testimonialCarouselNav button::before {
    width: 6px !important;
    height: 6px !important;
  }

  #blogCarouselNav,
  #testimonialCarouselNav,
  .ni-section-head .section-carousel-nav {
    gap: 8px !important;
  }
}

.services-grid {
  row-gap: 24px;
  margin-left: -12px;
  margin-right: -12px;
}

.services-grid > [class*="col-"] {
  display: flex;
  padding-left: 12px;
  padding-right: 12px;
}

.services-item .body h4 {
  display: none;
}

.services-item .body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.services-item .body h5 {
  min-height: 0;
  margin: 0 !important;
  line-height: 1.35;
}

.services-item .body p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 0;
  margin: 0 !important;
  line-height: 1.65;
}

.services-item .body a {
  margin: 4px 0 0 !important;
  padding-top: 2px;
}

/* Section header row ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ title left, decorative dots on right */
.section .row.justify-content-center:has(.section-heading:not(.counters-heading)) {
  justify-content: space-between !important;
  align-items: center;
  flex-wrap: nowrap;
  margin-left: 0 !important;
  margin-right: 0 !important;
  overflow: hidden;
}

.section .row.justify-content-center:has(.section-heading:not(.counters-heading)) > [class*="col-"] {
  max-width: calc(100% - 80px);
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}

.section .row.justify-content-center:has(.section-heading:not(.counters-heading))::after {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 66px;
  height: 66px;
  background-image:
    radial-gradient(circle, var(--ni-primary, #15bf86) 2.5px, transparent 2.5px),
    radial-gradient(circle, var(--ni-primary, #15bf86) 2.5px, transparent 2.5px),
    radial-gradient(circle, var(--ni-primary, #15bf86) 2.5px, transparent 2.5px),
    radial-gradient(circle, rgba(21,191,134,0.45) 2.5px, transparent 2.5px),
    radial-gradient(circle, rgba(21,191,134,0.45) 2.5px, transparent 2.5px),
    radial-gradient(circle, rgba(21,191,134,0.45) 2.5px, transparent 2.5px),
    radial-gradient(circle, rgba(21,191,134,0.18) 2.5px, transparent 2.5px),
    radial-gradient(circle, rgba(21,191,134,0.18) 2.5px, transparent 2.5px),
    radial-gradient(circle, rgba(21,191,134,0.18) 2.5px, transparent 2.5px);
  background-position:
    0px 0px,  22px 0px,  44px 0px,
    0px 22px, 22px 22px, 44px 22px,
    0px 44px, 22px 44px, 44px 44px;
  background-repeat: no-repeat;
  align-self: center;
  margin-bottom: 40px;
  opacity: 0.8;
}

.white-btn,
.primary-btn {
  background: linear-gradient(135deg, #23e0a3 0%, #15bf86 48%, #0d8f63 100%) !important;
  box-shadow: none !important;
  border: none !important;
  transition: background 0.3s ease !important;
}

.white-btn:hover,
.primary-btn:hover {
  background: linear-gradient(135deg, #3aebaf 0%, #15bf86 50%, #0b7a54 100%) !important;
  transform: none !important;
  box-shadow: none !important;
}

.white-btn .text,
.primary-btn .text,
.white-btn:hover .text,
.primary-btn:hover .text {
  color: #fff !important;
}

.white-btn .icon,
.primary-btn .icon,
.white-btn:hover .icon,
.primary-btn:hover .icon {
  border: none !important;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.white-btn .icon i,
.primary-btn .icon i,
.white-btn:hover .icon i,
.primary-btn:hover .icon i {
  width: 40px;
  height: 40px;
  font-size: 0 !important;
  line-height: 0 !important;
  border-radius: 50%;
  background: #fff !important;
  color: #15bf86 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
}

.white-btn .icon i::before,
.primary-btn .icon i::before {
  content: "" !important;
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #15bf86;
  border-right: 2px solid #15bf86;
  transform: rotate(45deg);
  margin: 0;
  font-family: inherit !important;
}

.white-btn .icon i::after,
.primary-btn .icon i::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 2px;
  background: #15bf86;
  border-radius: 2px;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
}

.services-item .body a i {
  font-size: 0 !important;
  width: 8px;
  height: 8px;
  color: var(--ni-primary, #15bf86) !important;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px !important;
}

.services-item .body a i::before {
  display: none !important;
}

#testimonialCarousel.owl-carousel .owl-nav button,
#blogCarousel.owl-carousel .owl-nav button,
#portfolioCarousel.owl-carousel .owl-nav button,
.section-carousel-nav .owl-nav button,
.section-carousel-nav > button,
#testimonialCarouselNav button,
#blogCarouselNav button,
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  border-radius: 50% !important;
  border: 1.5px solid rgba(21, 191, 134, 0.55) !important;
  background: transparent !important;
  background-image: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

#testimonialCarousel.owl-carousel .owl-nav,
#blogCarousel.owl-carousel .owl-nav,
#portfolioCarousel.owl-carousel .owl-nav,
.section-carousel-nav .owl-nav {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 14px !important;
}

#testimonialCarousel.owl-carousel .owl-nav button.owl-prev,
#blogCarousel.owl-carousel .owl-nav button.owl-prev,
#portfolioCarousel.owl-carousel .owl-nav button.owl-prev,
.section-carousel-nav .owl-nav button.owl-prev {
  margin-right: 0 !important;
}

#testimonialCarousel.owl-carousel .owl-nav button.owl-next,
#blogCarousel.owl-carousel .owl-nav button.owl-next,
#portfolioCarousel.owl-carousel .owl-nav button.owl-next,
.section-carousel-nav .owl-nav button.owl-next {
  margin-left: 0 !important;
}

#testimonialCarousel.owl-carousel .owl-nav button span,
#blogCarousel.owl-carousel .owl-nav button span,
#portfolioCarousel.owl-carousel .owl-nav button span,
.section-carousel-nav .owl-nav button span,
.owl-carousel .owl-nav button.owl-prev span,
.owl-carousel .owl-nav button.owl-next span,
html[data-theme="dark"] .owl-carousel .owl-nav button span,
html[data-theme="dark"] .section-carousel-nav .owl-nav button span,
html[data-theme="light"] .owl-carousel .owl-nav button span,
html[data-theme="light"] .section-carousel-nav .owl-nav button span {
  width: 100% !important;
  height: 100% !important;
  min-width: 0;
  line-height: 1 !important;
  font-size: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 50% !important;
  background: transparent !important;
  color: transparent !important;
}

#testimonialCarousel.owl-carousel .owl-nav button span::before,
#blogCarousel.owl-carousel .owl-nav button span::before,
#portfolioCarousel.owl-carousel .owl-nav button span::before,
.section-carousel-nav .owl-nav button span::before,
.owl-carousel .owl-nav button.owl-next span::before,
.owl-carousel .owl-nav button.owl-prev span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  display: block;
  filter: none;
}

#testimonialCarousel.owl-carousel .owl-nav button.owl-next span::before,
#blogCarousel.owl-carousel .owl-nav button.owl-next span::before,
#portfolioCarousel.owl-carousel .owl-nav button.owl-next span::before,
.section-carousel-nav .owl-nav button.owl-next span::before,
.owl-carousel .owl-nav button.owl-next span::before {
  transform: rotate(45deg);
  margin-left: -2px;
}

#testimonialCarousel.owl-carousel .owl-nav button.owl-prev span::before,
#blogCarousel.owl-carousel .owl-nav button.owl-prev span::before,
#portfolioCarousel.owl-carousel .owl-nav button.owl-prev span::before,
.section-carousel-nav .owl-nav button.owl-prev span::before,
.owl-carousel .owl-nav button.owl-prev span::before {
  transform: rotate(-135deg);
  margin-right: -2px;
}

#testimonialCarousel.owl-carousel .owl-nav button:hover,
#blogCarousel.owl-carousel .owl-nav button:hover,
#portfolioCarousel.owl-carousel .owl-nav button:hover,
.section-carousel-nav .owl-nav button:hover,
.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
  transform: none;
  border-color: var(--ni-primary, #15bf86) !important;
  background: rgba(21, 191, 134, 0.1) !important;
  background-image: none !important;
  box-shadow: none;
}

#portfolioCarousel.owl-carousel .owl-nav button:hover {
  transform: translateY(-50%);
}

#testimonialCarousel.owl-carousel .owl-nav button:hover span,
#blogCarousel.owl-carousel .owl-nav button:hover span,
#portfolioCarousel.owl-carousel .owl-nav button:hover span,
.section-carousel-nav .owl-nav button:hover span,
.owl-carousel .owl-nav button.owl-prev:hover span,
.owl-carousel .owl-nav button.owl-next:hover span {
  background: transparent !important;
  color: transparent !important;
}

#testimonialCarousel.owl-carousel .owl-nav button:hover span::before,
#blogCarousel.owl-carousel .owl-nav button:hover span::before,
#portfolioCarousel.owl-carousel .owl-nav button:hover span::before,
.section-carousel-nav .owl-nav button:hover span::before,
.owl-carousel .owl-nav button.owl-prev:hover span::before,
.owl-carousel .owl-nav button.owl-next:hover span::before {
  border-top-color: #fff;
  border-right-color: #fff;
  filter: none;
}

html[data-theme="dark"] .white-btn,
html[data-theme="dark"] .primary-btn,
html[data-theme="dark"] .blog-details-section .leave-comment-wrapper .primary-btn {
  background: linear-gradient(135deg, #23e0a3 0%, #15bf86 48%, #0d8f63 100%) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .white-btn:hover,
html[data-theme="dark"] .primary-btn:hover,
html[data-theme="dark"] .blog-details-section .leave-comment-wrapper .primary-btn:hover {
  background: linear-gradient(135deg, #3aebaf 0%, #15bf86 50%, #0b7a54 100%) !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Hero CTA ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ glass + gradient border (overrides global .white-btn solid fill) */
.hero-banner .hero-inner .white-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  z-index: 0;
  background: var(--ni-glass) !important;
  background-color: transparent !important;
  border: 1px solid transparent !important;
  background-image:
    var(--ni-glass),
    linear-gradient(135deg, rgba(35, 224, 163, 0.55) 0%, rgba(21, 191, 134, 0.32) 52%, rgba(255, 255, 255, 0.16) 100%) !important;
  background-origin: border-box !important;
  background-clip: padding-box, border-box !important;
  box-shadow: var(--ni-glass-shadow), 0 10px 28px rgba(21, 191, 134, 0.12) !important;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transform: none !important;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease !important;
}

.hero-banner .hero-inner .white-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 18%, rgba(255, 255, 255, 0.12) 50%, transparent 82%);
  opacity: 0;
  transform: translateX(-35%);
  transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 0;
}

.hero-banner .hero-inner .white-btn:hover {
  background: var(--ni-glass) !important;
  background-color: transparent !important;
  background-image:
    var(--ni-glass),
    linear-gradient(135deg, rgba(142, 240, 208, 0.62) 0%, rgba(21, 191, 134, 0.42) 52%, rgba(255, 255, 255, 0.22) 100%) !important;
  background-origin: border-box !important;
  background-clip: padding-box, border-box !important;
  box-shadow:
    var(--ni-glass-shadow),
    0 14px 36px rgba(21, 191, 134, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  transform: translateY(-2px) !important;
}

.hero-banner .hero-inner .white-btn:hover::after {
  opacity: 1;
  transform: translateX(35%);
}

.hero-banner .hero-inner .white-btn .text,
.hero-banner .hero-inner .white-btn:hover .text {
  position: relative;
  z-index: 1;
  color: #fff !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.18);
  transition: letter-spacing 0.35s ease;
}

.hero-banner .hero-inner .white-btn:hover .text {
  letter-spacing: 1.35px;
}

.hero-banner .hero-inner .white-btn .icon {
  position: relative;
  z-index: 1;
  padding: 4px 10px 4px 18px !important;
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-banner .hero-inner .white-btn:hover .icon {
  transform: translateX(3px);
}

.hero-banner .hero-inner .white-btn .icon::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(21, 191, 134, 0.85) 50%, transparent 100%);
  transition: background 0.35s ease;
}

.hero-banner .hero-inner .white-btn:hover .icon::before {
  background: linear-gradient(180deg, transparent 0%, rgba(142, 240, 208, 0.95) 50%, transparent 100%);
}

.hero-banner .hero-inner .white-btn .icon i,
.hero-banner .hero-inner .white-btn:hover .icon i {
  width: 36px !important;
  height: 36px !important;
  border-radius: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  background: linear-gradient(135deg, rgba(35, 224, 163, 0.18) 0%, #15bf86 52%, rgba(142, 240, 208, 0.95) 100%) !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 11h11.17l-3.58-3.59L13 6l6 6-6 6-1.41-1.41L15.17 13H4v-2z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 11h11.17l-3.58-3.59L13 6l6 6-6 6-1.41-1.41L15.17 13H4v-2z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.hero-banner .hero-inner .white-btn:hover .icon i {
  filter: brightness(1.12);
  transform: translateX(2px);
}

.hero-banner .hero-inner .white-btn .icon i::before,
.hero-banner .hero-inner .white-btn .icon i::after,
.hero-banner .hero-inner .white-btn:hover .icon i::before,
.hero-banner .hero-inner .white-btn:hover .icon i::after {
  display: none !important;
  content: none !important;
}

/* Light mode: simple white cards / buttons (no gradients) */
html[data-theme="light"] .hero-banner .hero-inner .white-btn {
  background: #ffffff !important;
  background-image: none !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(18, 120, 88, 0.18) !important;
  box-shadow: 0 10px 28px rgba(18, 60, 45, 0.08) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-theme="light"] .hero-banner .hero-inner .white-btn::after {
  display: none;
}

html[data-theme="light"] .hero-banner .hero-inner .white-btn:hover {
  background: #ffffff !important;
  background-image: none !important;
  border-color: rgba(21, 191, 134, 0.45) !important;
  box-shadow: 0 14px 32px rgba(18, 60, 45, 0.1) !important;
  transform: translateY(-2px) !important;
}

html[data-theme="light"] .hero-banner .hero-inner .white-btn .text,
html[data-theme="light"] .hero-banner .hero-inner .white-btn:hover .text {
  color: #12201b !important;
  text-shadow: none;
}

html[data-theme="light"] .hero-banner .hero-inner .white-btn .icon::before,
html[data-theme="light"] .hero-banner .hero-inner .white-btn:hover .icon::before {
  background: linear-gradient(180deg, transparent 0%, rgba(21, 191, 134, 0.55) 50%, transparent 100%);
}

html[data-theme="light"] .hero-banner .hero-inner .white-btn .icon i,
html[data-theme="light"] .hero-banner .hero-inner .white-btn:hover .icon i {
  background: #15bf86 !important;
  -webkit-mask: none;
  mask: none;
  font-size: 0 !important;
  border-radius: 50% !important;
  box-shadow: none;
}

html[data-theme="light"] .hero-banner .hero-inner .white-btn .icon i::before,
html[data-theme="light"] .hero-banner .hero-inner .white-btn:hover .icon i::before {
  content: "" !important;
  display: block !important;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  margin: 0;
}

html[data-theme="light"] .hero-banner .hero-inner .white-btn .icon i::after,
html[data-theme="light"] .hero-banner .hero-inner .white-btn:hover .icon i::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  width: 12px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
}

html[data-theme="light"] .white-btn,
html[data-theme="light"] .primary-btn,
html[data-theme="light"] .ni-detail-btn--primary {
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid rgba(18, 120, 88, 0.18) !important;
  box-shadow: 0 8px 22px rgba(18, 60, 45, 0.07) !important;
  color: #12201b !important;
}

html[data-theme="light"] .white-btn:hover,
html[data-theme="light"] .primary-btn:hover,
html[data-theme="light"] .ni-detail-btn--primary:hover {
  background: #ffffff !important;
  background-image: none !important;
  border-color: rgba(21, 191, 134, 0.45) !important;
  box-shadow: 0 12px 28px rgba(18, 60, 45, 0.1) !important;
  color: #15bf86 !important;
}

html[data-theme="light"] .white-btn .text,
html[data-theme="light"] .primary-btn .text,
html[data-theme="light"] .white-btn:hover .text,
html[data-theme="light"] .primary-btn:hover .text {
  color: inherit !important;
}

html[data-theme="light"] .ni-detail-btn--primary {
  color: #12201b !important;
}

html[data-theme="light"] .ni-detail-btn--primary:hover {
  color: #15bf86 !important;
}

html[data-theme="light"] .ni-detail-btn--ghost {
  background: #ffffff !important;
  box-shadow: 0 8px 22px rgba(18, 60, 45, 0.07) !important;
}

html[data-theme="light"] .white-btn .icon i,
html[data-theme="light"] .primary-btn .icon i,
html[data-theme="light"] .white-btn:hover .icon i,
html[data-theme="light"] .primary-btn:hover .icon i {
  background: #15bf86 !important;
}

html[data-theme="light"] .white-btn .icon i::before,
html[data-theme="light"] .primary-btn .icon i::before,
html[data-theme="light"] .white-btn:hover .icon i::before,
html[data-theme="light"] .primary-btn:hover .icon i::before {
  border-top-color: #fff;
  border-right-color: #fff;
}

html[data-theme="light"] .white-btn .icon i::after,
html[data-theme="light"] .primary-btn .icon i::after,
html[data-theme="light"] .white-btn:hover .icon i::after,
html[data-theme="light"] .primary-btn:hover .icon i::after {
  background: #fff;
}

html[data-theme="light"] .owl-carousel .owl-nav button.owl-prev,
html[data-theme="light"] .owl-carousel .owl-nav button.owl-next,
html[data-theme="light"] #testimonialCarousel.owl-carousel .owl-nav button,
html[data-theme="light"] #blogCarousel.owl-carousel .owl-nav button,
html[data-theme="light"] #portfolioCarousel.owl-carousel .owl-nav button,
html[data-theme="light"] .section-carousel-nav .owl-nav button {
  border: 1.5px solid rgba(21, 191, 134, 0.55) !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

html[data-theme="light"] .owl-carousel .owl-nav button:hover,
html[data-theme="light"] #testimonialCarousel.owl-carousel .owl-nav button:hover,
html[data-theme="light"] #blogCarousel.owl-carousel .owl-nav button:hover,
html[data-theme="light"] #portfolioCarousel.owl-carousel .owl-nav button:hover,
html[data-theme="light"] .section-carousel-nav .owl-nav button:hover {
  border-color: var(--ni-primary, #15bf86) !important;
  background: rgba(21, 191, 134, 0.08) !important;
  background-image: none !important;
  box-shadow: none !important;
}

html[data-theme="light"] .owl-carousel .owl-nav button span::before,
html[data-theme="light"] #testimonialCarousel.owl-carousel .owl-nav button span::before,
html[data-theme="light"] #blogCarousel.owl-carousel .owl-nav button span::before,
html[data-theme="light"] #portfolioCarousel.owl-carousel .owl-nav button span::before,
html[data-theme="light"] .section-carousel-nav .owl-nav button span::before,
html[data-theme="light"] .owl-carousel .owl-nav button:hover span::before,
html[data-theme="light"] #testimonialCarousel.owl-carousel .owl-nav button:hover span::before,
html[data-theme="light"] #blogCarousel.owl-carousel .owl-nav button:hover span::before,
html[data-theme="light"] #portfolioCarousel.owl-carousel .owl-nav button:hover span::before,
html[data-theme="light"] .section-carousel-nav .owl-nav button:hover span::before {
  border-top-color: #0d8f63;
  border-right-color: #0d8f63;
  filter: none;
}

.service-item,
.blog-item,
.portfolio-item .portfolio-item-inner,
.info-box,
.counter-item,
.team-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.portfolio-item .portfolio-item-inner {
  will-change: transform;
  animation: ni-portfolio-card-float 8.8s ease-in-out infinite;
}

.portfolio-item:nth-child(2n) .portfolio-item-inner {
  animation-duration: 9.8s;
  animation-delay: 0.35s;
}

.portfolio-item:nth-child(3n) .portfolio-item-inner {
  animation-duration: 10.6s;
  animation-delay: 0.7s;
}

.service-item:hover,
.blog-item:hover,
.portfolio-item:hover .portfolio-item-inner,
.info-box:hover {
  transform: none;
  box-shadow: none !important;
}

html[data-theme="light"] .service-item,
html[data-theme="light"] .blog-item .blog-item-inner,
html[data-theme="light"] .portfolio-item .portfolio-item-inner {
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid rgba(18, 120, 88, 0.14);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(18, 60, 45, 0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-theme="light"] .service-item:hover,
html[data-theme="light"] .blog-item:hover .blog-item-inner,
html[data-theme="light"] .portfolio-item:hover .portfolio-item-inner {
  background: #ffffff !important;
  border-color: rgba(21, 191, 134, 0.35);
  box-shadow: 0 14px 32px rgba(18, 60, 45, 0.09) !important;
}

html[data-theme="dark"] .service-item,
html[data-theme="dark"] .blog-item .blog-item-inner,
html[data-theme="dark"] .portfolio-item .portfolio-item-inner {
  border: 1px solid var(--ni-border);
  border-radius: 18px;
  overflow: hidden;
}

.portfolio-filter a {
  border-radius: 999px !important;
  border: 1px solid transparent;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.portfolio-filter a:hover {
  transform: translateY(-1px);
}

html[data-theme="light"] .portfolio-filter a {
  background: #ffffff !important;
  background-image: none !important;
  color: #15bf86 !important;
  border: 1px solid rgba(21, 191, 134, 0.35) !important;
  box-shadow: 0 4px 14px rgba(18, 60, 45, 0.05) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-theme="light"] .portfolio-filter a:hover {
  color: #0d8f63 !important;
  border-color: #15bf86 !important;
  background: #ffffff !important;
  background-image: none !important;
  box-shadow: 0 6px 18px rgba(18, 60, 45, 0.08) !important;
}

html[data-theme="light"] .portfolio-filter a.current {
  background: #15bf86 !important;
  background-image: none !important;
  color: #ffffff !important;
  border-color: #15bf86 !important;
  box-shadow: 0 8px 20px rgba(21, 191, 134, 0.28) !important;
}

.header {
  z-index: 1040 !important;
  isolation: isolate;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.header-shrink {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(15, 20, 18, 0.06);
}

html[data-theme="light"] .header-shrink {
  background: rgba(238, 246, 242, 0.72) !important;
}

html[data-theme="dark"] .header-shrink {
  background: rgba(18, 24, 21, 0.88) !important;
}

.footer {
  position: relative;
}

/* ----------------------------------------------------------------
   About section ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ modern polish
---------------------------------------------------------------- */
.about-section {
  position: relative;
  overflow: visible;
}

.hero-banner + .about-section,
.hero-banner + * + .about-section {
  margin-top: 0;
}

.about-section .about-row {
  --about-play-offset: 0px;
}

.about-section .about-media-col,
.about-section .about-content-col {
  display: flex;
}

.about-section .about-media-col {
  position: relative;
  min-height: 0;
  overflow: visible;
  flex-direction: column;
  padding-right: 48px;
}

.about-section .about-section-heading {
  flex: 0 0 auto;
  margin-bottom: 54px !important;
  z-index: 4;
}

.about-section .about-section-heading h2 {
  margin-bottom: 0 !important;
}

.about-section .about-img {
  position: relative;
  flex: 0 0 auto;
  inset: auto;
  width: 100%;
  max-width: 520px;
  min-height: 0;
  height: auto;
  display: block;
  margin: 0;
}

.about-section .about-img.about-img--animated {
  animation: none;
}

.about-section .about-img .about-float-bits {
  display: none;
}

.about-section .about-img .about-float-bits span {
  position: absolute;
  display: block;
  color: var(--ni-primary, #15bf86);
  opacity: 0.85;
  animation: ni-about-bits 4.8s ease-in-out infinite;
}

.about-section .about-img .about-float-bits .bit-plus {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  top: 8%;
  left: 6%;
  animation-delay: 0s;
}

.about-section .about-img .about-float-bits .bit-plus-2 {
  top: 18%;
  right: 10%;
  left: auto;
  font-size: 1.1rem;
  animation-delay: 1.2s;
}

.about-section .about-img .about-float-bits .bit-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ni-primary, #15bf86);
  top: 72%;
  left: 8%;
  animation-delay: 0.6s;
}

.about-section .about-img .about-float-bits .bit-dot-2 {
  width: 7px;
  height: 7px;
  top: 12%;
  right: 28%;
  left: auto;
  animation-delay: 1.8s;
}

.about-section .about-img .about-float-bits .bit-slash {
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: #7dffb0;
  transform: rotate(-38deg);
  top: 78%;
  right: 14%;
  left: auto;
  animation-delay: 0.9s;
}

@keyframes ni-about-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

@keyframes ni-about-bits {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.75; }
  50% { transform: translate3d(0, -8px, 0) scale(1.08); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .about-section .about-img.about-img--animated,
  .about-section .about-img .about-float-bits span {
    animation: none !important;
  }
}

.about-section .about-img img {
  width: 100%;
  height: auto;
  max-height: 520px;
  display: block;
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 3 / 4;
  border-radius: 28px !important;
  border-width: 10px !important;
  border-style: solid;
  border-color: var(--ni-primary, #15bf86) !important;
  box-shadow: 0 18px 40px rgba(21, 191, 134, 0.16);
}

.about-section .about-img:hover img {
  border-color: var(--ni-primary, #15bf86) !important;
  box-shadow: 0 18px 40px rgba(21, 191, 134, 0.16);
}

.about-section .about-img .about-video-btn {
  width: 84px !important;
  height: 84px !important;
  line-height: 1 !important;
  right: 0 !important;
  font-size: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  border-radius: 50%;
  overflow: visible;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  z-index: 3;
  transform: translate(50%, -50%) !important;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-section .about-img .about-video-btn__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(21, 191, 134, 0.55);
  box-shadow: 0 0 0 0 rgba(21, 191, 134, 0.35);
  animation: ni-about-pulse 2.6s ease-out infinite;
  pointer-events: none;
}

.about-section .about-img .about-video-btn__pulse--delay {
  animation-delay: 1.3s;
}

.about-section .about-img .about-video-btn__ring {
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  background: conic-gradient(
    from 140deg,
    rgba(21, 191, 134, 1),
    rgba(21, 191, 134, 0.12) 28%,
    rgba(255, 255, 255, 0.55) 48%,
    rgba(21, 191, 134, 0.18) 68%,
    rgba(21, 191, 134, 1)
  );
  opacity: 0.95;
  animation: ni-about-ring-spin 4.8s linear infinite;
  pointer-events: none;
  filter: drop-shadow(0 0 14px rgba(21, 191, 134, 0.45));
}

.about-section .about-img .about-video-btn__ring::after {
  content: "";
  position: absolute;
  inset: 2.5px;
  border-radius: inherit;
  background: rgba(6, 12, 10, 0.92);
}

.about-section .about-img .about-video-btn__core {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.22), transparent 42%),
    linear-gradient(155deg, rgba(14, 28, 22, 0.95) 0%, rgba(8, 16, 13, 0.98) 55%, rgba(12, 36, 26, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(21, 191, 134, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -10px 24px rgba(21, 191, 134, 0.12);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.about-section .about-img .about-video-btn__icon {
  position: relative;
  z-index: 1;
  width: 0;
  height: 0;
  margin-left: 5px;
  border-style: solid;
  border-width: 9px 0 9px 16px;
  border-color: transparent transparent transparent #fff;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
  transition: border-color 0.3s ease, filter 0.3s ease;
}

.about-section .about-img .about-video-btn i {
  display: none !important;
}

.about-section .about-img:hover .about-video-btn,
.about-section .about-img .about-video-btn:hover {
  transform: translate(50%, -50%) scale(1.07) !important;
}

.about-section .about-img:hover .about-video-btn__core,
.about-section .about-img .about-video-btn:hover .about-video-btn__core {
  border-color: rgba(255, 255, 255, 0.28);
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.28), transparent 45%),
    linear-gradient(155deg, rgba(21, 191, 134, 0.95) 0%, rgba(12, 140, 96, 0.98) 100%);
  box-shadow:
    0 22px 48px rgba(21, 191, 134, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -12px 28px rgba(0, 0, 0, 0.12);
}

.about-section .about-img:hover .about-video-btn__pulse,
.about-section .about-img .about-video-btn:hover .about-video-btn__pulse {
  border-color: rgba(21, 191, 134, 0.85);
}

.about-section .about-img .video-border-line {
  display: none !important;
}

@keyframes ni-about-ring-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ni-about-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
    box-shadow: 0 0 0 0 rgba(21, 191, 134, 0.4);
  }
  70% {
    transform: scale(1.55);
    opacity: 0;
    box-shadow: 0 0 0 18px rgba(21, 191, 134, 0);
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

.about-section .about-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 36px;
}

.about-section .about-inner h2 {
  font-size: clamp(1.75rem, 2.4vw, 2.35rem);
  line-height: 1.25;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 18px !important;
  color: var(--ni-text, #171718);
  max-width: 28ch;
}

.about-section .about-inner > p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ni-muted, #6d7077);
  margin-bottom: 28px !important;
  max-width: 52ch;
}

.about-section .about-info-grid {
  margin-bottom: 0;
}

.about-section .about-inner ul {
  margin-bottom: 0 !important;
  padding: 0;
  list-style: none;
}

.about-section .about-info-item {
  margin-bottom: 18px !important;
}

.about-section .about-info-item:last-child {
  margin-bottom: 0 !important;
}

.about-section .about-info-item .text h5 {
  font-size: 15px !important;
  font-weight: 700;
  margin-bottom: 4px !important;
  color: var(--ni-text, #171718);
  letter-spacing: 0.01em;
}

.about-section .about-info-item .text p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ni-muted, #6d7077);
}

@media (max-width: 767.98px) {
  .about-section .about-info-grid > [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
  }

  .about-section .about-info-item {
    margin-bottom: 14px !important;
  }

  .about-section .about-info-item .text h5 {
    font-size: 13px !important;
  }

  .about-section .about-info-item .text p {
    font-size: 13px;
    word-break: break-word;
  }
}

html[data-theme="dark"] .about-section .about-inner h2 {
  color: #f1f5f3 !important;
}

html[data-theme="dark"] .about-section .about-inner > p,
html[data-theme="dark"] .about-section .about-info-item .text p {
  color: var(--ni-muted, #a7b5ad) !important;
}

html[data-theme="dark"] .about-section .about-info-item .text h5 {
  color: #f1f5f3 !important;
}

html[data-theme="dark"] .about-section .about-img img {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

html[data-theme="light"] .about-section,
html[data-theme="dark"] .about-section {
  background: transparent !important;
}

@media (max-width: 991.98px) {
  html[data-theme="light"],
  html[data-theme="dark"] {
    --ni-section-space: 56px;
  }

  .section {
    padding: var(--ni-section-space, 56px) 0 !important;
  }

  .about-section,
  .hero-banner + .about-section {
    padding-top: var(--ni-section-space, 56px) !important;
  }

  .about-section .about-media-col,
  .about-section .about-content-col {
    display: block;
  }

  .about-section .about-media-col {
    min-height: 0;
  }

  .about-section .about-inner {
    height: auto;
    padding-left: 0;
    padding-top: 8px;
  }

  .about-section .about-img {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    max-width: 420px;
    margin: 0 auto 28px;
  }

  .about-section .about-img img {
    height: auto;
    max-height: 420px;
    aspect-ratio: 3 / 4;
  }

  .about-section .about-inner h2 {
    max-width: none;
  }
}

@media (max-width: 576px) {
  .about-section .about-media-col {
    padding-right: 0;
  }

  .about-section .about-img img {
    border-width: 10px !important;
    border-radius: 28px !important;
  }

  .about-section .about-img .about-video-btn {
    right: auto !important;
    left: 50% !important;
    width: 72px !important;
    height: 72px !important;
    transform: translate(-50%, -50%) !important;
  }

  .about-section .about-img:hover .about-video-btn,
  .about-section .about-img .about-video-btn:hover {
    transform: translate(-50%, -50%) scale(1.06) !important;
  }

  .about-section .about-img .about-video-btn__ring {
    inset: -6px;
  }

  .about-section .about-img .about-video-btn__icon {
    border-width: 8px 0 8px 14px;
  }

  .about-section .about-img .video-border-line {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-section .about-img .about-video-btn__ring,
  .about-section .about-img .about-video-btn__pulse {
    animation: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .service-item,
  .blog-item,
  .portfolio-item .portfolio-item-inner,
  .info-box,
  .white-btn,
  .primary-btn,
  .about-section .about-img img,
  .about-section .about-img .about-video-btn,
  .about-section .about-img,
  .skills-section .skills-img,
  .how-i-work-item .img {
    transition: none !important;
    animation: none !important;
  }

  .about-section .about-img .video-border-line:after,
  .about-section .about-img .video-border-line:before {
    animation: none !important;
  }

  .service-item:hover,
  .blog-item:hover,
  .portfolio-item:hover .portfolio-item-inner,
  .info-box:hover,
  .white-btn:hover,
  .primary-btn:hover,
  .skills-section .skills-item:hover {
    transform: none !important;
  }
}

/* ----------------------------------------------------------------
   Skills / Why Choose Us ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ modern polish
---------------------------------------------------------------- */
.skills-section {
  position: relative;
  overflow: visible;
}

.skills-section .skills-row {
  align-items: stretch;
}

.skills-section .skills-media-col,
.skills-section .skills-content-col {
  display: flex;
}

.skills-section .skills-media-col {
  position: relative;
  min-height: 0;
  align-items: stretch;
  justify-content: flex-start;
}

.skills-section .skills-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  aspect-ratio: auto;
  margin: 0;
}

.skills-section .skills-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 28px !important;
  border-width: 12px !important;
  border-style: solid;
  border-color: var(--ni-primary, #15bf86) !important;
  box-shadow: 0 24px 60px rgba(21, 191, 134, 0.18);
  transition: box-shadow 0.55s ease !important;
}

.skills-section .skills-img:hover img {
  border-color: var(--ni-primary, #15bf86) !important;
  box-shadow: 0 32px 72px rgba(21, 191, 134, 0.3);
}

.skills-section .skills-img .icon-check,
.skills-section .skills-img .icon-border-line {
  display: none !important;
}

.skills-section .skills-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 18px;
}

.skills-section .skills-inner > h6 {
  display: none !important;
}

.skills-section .skills-inner h2 {
  font-size: clamp(1.75rem, 2.4vw, 2.35rem);
  line-height: 1.25;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 16px !important;
  color: var(--ni-text, #171718);
  max-width: 34ch;
}

.skills-section .skills-inner > p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ni-muted, #6d7077);
  margin-bottom: 24px !important;
  max-width: 68ch;
}

.skills-section .skills-cards {
  margin-left: -10px;
  margin-right: -10px;
}

.skills-section .skills-cards > [class*="col-"] {
  padding-left: 10px;
  padding-right: 10px;
}

.skills-section .skills-item {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px 20px 24px;
  overflow: hidden;
  border-radius: 24px !important;
  border: 1px solid var(--ni-glass-border, rgba(21, 191, 134, 0.22)) !important;
  background: var(--ni-glass) !important;
  box-shadow: var(--ni-glass-shadow) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease !important;
}

.skills-section .skills-item:hover {
  transform: translateY(-4px);
  border-color: rgba(21, 191, 134, 0.45) !important;
  box-shadow: 0 22px 48px rgba(21, 191, 134, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  background: var(--ni-glass-hover) !important;
}

.skills-section .skills-ring {
  position: relative;
  width: 118px;
  height: 118px;
  flex-shrink: 0;
}

.skills-section .skills-ring svg {
  width: 100%;
  height: 100%;
  display: block;
  transform: rotate(-90deg);
}

.skills-section .skills-ring-track,
.skills-section .skills-ring-value {
  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
}

.skills-section .skills-ring-track {
  stroke: rgba(21, 191, 134, 0.16);
}

.skills-section .skills-ring-value {
  stroke: var(--ni-primary, #15bf86);
  stroke-dasharray: 263.89;
  stroke-dashoffset: 263.89;
  filter: drop-shadow(0 0 8px rgba(21, 191, 134, 0.45));
  transition: stroke-dashoffset 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.skills-section .skills-ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.skills-section .skills-ring-center h2,
.skills-section .skills-item .body h2 {
  margin: 0 !important;
  font-size: 1.65rem !important;
  font-weight: 700;
  line-height: 1;
  color: var(--ni-text, #171718) !important;
}

.skills-section .skills-ring-center h2:after,
.skills-section .skills-item .body h2:after {
  content: "%";
  margin-left: 2px;
  font-size: 0.72em;
  font-weight: 600;
  opacity: 0.85;
}

.skills-section .skills-item .skills-item-text {
  width: 100%;
  text-align: center;
}

.skills-section .skills-item .skills-item-text h5 {
  margin: 0;
  padding: 0 !important;
  font-size: 15px !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--ni-text, #171718) !important;
}

.skills-section .skills-item .body {
  display: none !important;
}

.skills-section .skills-item .skills-progress-bar {
  display: none !important;
}

html[data-theme="dark"] .skills-section .skills-inner h2,
html[data-theme="dark"] .skills-section .skills-ring-center h2 {
  color: #fff !important;
}

html[data-theme="light"] .skills-section .skills-inner h2 {
  color: var(--ni-primary, #15bf86) !important;
}

html[data-theme="dark"] .skills-section .skills-inner > p {
  color: var(--ni-muted, #a7b5ad) !important;
}

html[data-theme="dark"] .skills-section .skills-item {
  background: var(--ni-glass) !important;
  border-color: rgba(21, 191, 134, 0.28) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

html[data-theme="dark"] .skills-section .skills-item:hover {
  background: var(--ni-glass-hover) !important;
  border-color: rgba(21, 191, 134, 0.5) !important;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(21, 191, 134, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
}

html[data-theme="dark"] .skills-section .skills-item .skills-item-text h5 {
  color: rgba(255, 255, 255, 0.92) !important;
}

html[data-theme="dark"] .skills-section .skills-ring-track {
  stroke: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .skills-section .skills-img img {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

html[data-theme="light"] .skills-section .skills-ring-center h2 {
  color: var(--ni-text, #171718) !important;
}

html[data-theme="light"] .skills-section,
html[data-theme="dark"] .skills-section {
  background: transparent !important;
}

@media (max-width: 991.98px) {
  .skills-section .skills-media-col,
  .skills-section .skills-content-col {
    display: block;
  }

  .skills-section .skills-media-col {
    min-height: 0;
  }

  .skills-section .skills-img {
    position: relative;
    inset: auto;
    max-width: 420px;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto 36px;
  }

  .skills-section .skills-img img {
    height: 100%;
    aspect-ratio: 1 / 1;
  }

  .skills-section .skills-inner {
    height: auto;
    padding-left: 0;
  }

  .skills-section .skills-inner h2 {
    max-width: none;
  }
}

@media (max-width: 576px) {
  .skills-section .skills-img img {
    border-width: 10px !important;
    border-radius: 28px !important;
  }

  .skills-section .skills-item-resp + .skills-item-resp {
    margin-top: 16px;
  }
}

/* ----------------------------------------------------------------
   Portfolio details page ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ modern polish
---------------------------------------------------------------- */
.portfolio-single-section {
  position: relative;
  overflow: visible;
}

.portfolio-single-section .portfolio-single-card {
  border-radius: 24px;
  padding: 18px;
  background: var(--ni-card-bg, #fff);
  border: 1px solid rgba(21, 191, 134, 0.12);
  box-shadow: 0 16px 40px rgba(15, 20, 18, 0.06);
}

.portfolio-single-section #portfolioCarousel {
  margin-bottom: 0;
}

.portfolio-single-section #portfolioCarousel img,
.portfolio-single-section .portfolio-single-media img {
  width: 100%;
  border-radius: 18px !important;
  display: block;
}

.portfolio-single-section .portfolio-single-inner {
  margin-top: 22px !important;
  margin-bottom: 0 !important;
  color: inherit !important;
  padding: 6px 8px 8px;
}

.portfolio-single-section .portfolio-single-inner h4 {
  font-size: clamp(1.65rem, 2.2vw, 2.15rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px !important;
  color: var(--ni-text, #171718);
}

.portfolio-single-section .portfolio-single-inner .author-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 18px !important;
}

.portfolio-single-section .portfolio-single-inner .author-meta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 0 !important;
  font-weight: 500 !important;
  font-size: 14px;
  color: var(--ni-muted, #6d7077) !important;
  text-decoration: none !important;
}

.portfolio-single-section .portfolio-single-inner .author-meta a:after {
  display: none !important;
}

.portfolio-single-section .portfolio-single-inner .author-meta a span {
  margin-right: 0 !important;
  color: var(--ni-primary, #15bf86) !important;
}

.portfolio-single-section .portfolio-single-inner .author-meta a:hover {
  color: var(--ni-primary, #15bf86) !important;
}

.portfolio-single-section .portfolio-single-desc,
.portfolio-single-section .portfolio-single-inner p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ni-muted, #6d7077) !important;
  margin-bottom: 0 !important;
}

.portfolio-single-section .portfolio-single-aside .widget-sidebar {
  position: sticky;
  top: 110px;
  padding: 22px;
  border-radius: 24px;
  background: var(--ni-card-bg, #fff) !important;
  border: 1px solid rgba(21, 191, 134, 0.12);
  box-shadow: 0 16px 40px rgba(15, 20, 18, 0.06) !important;
}

.portfolio-single-section .inner-header-title {
  position: relative;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  color: var(--ni-text, #171718);
}

.portfolio-single-section .inner-header-title:before,
.portfolio-single-section .inner-header-title:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--ni-primary, #15bf86) !important;
}

.portfolio-single-section .inner-header-title:before {
  width: 36px;
}

.portfolio-single-section .inner-header-title:after {
  left: 42px;
  width: 12px;
}

.portfolio-single-section .sidebar-widgets {
  margin-bottom: 26px !important;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(21, 191, 134, 0.12);
}

.portfolio-single-section .sidebar-widgets:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0;
  border-bottom: 0;
}

.portfolio-single-section .sidebar-details-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.portfolio-single-section .sidebar-details-list ul li h6 {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--ni-text, #171718);
  margin: 0;
}

.portfolio-single-section .sidebar-details-list ul li h6 span {
  font-weight: 400 !important;
  color: var(--ni-muted, #6d7077) !important;
}

.portfolio-single-section .sidebar-category-list {
  list-style: none;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.portfolio-single-section .sidebar-category-list li a {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px !important;
  border-radius: 999px !important;
  border: 1px solid var(--ni-border, #e5e7eb) !important;
  background: transparent !important;
  color: var(--ni-muted, #6d7077) !important;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease !important;
}

.portfolio-single-section .sidebar-category-list li:first-child a,
.portfolio-single-section .sidebar-category-list li:last-child a {
  border-radius: 999px !important;
}

.portfolio-single-section .sidebar-category-list li a:hover {
  color: var(--ni-text, #171718) !important;
  border-color: rgba(21, 191, 134, 0.4) !important;
  background: rgba(21, 191, 134, 0.08) !important;
  transform: translateY(-1px);
}

.portfolio-single-section .sidebar-category-list li.active a,
.portfolio-single-section .sidebar-category-list li a.active {
  background: var(--ni-primary, #15bf86) !important;
  color: #fff !important;
  border-color: var(--ni-primary, #15bf86) !important;
  box-shadow: 0 10px 22px rgba(21, 191, 134, 0.28) !important;
}

.portfolio-single-section .sidebar-category-list li a .category-count {
  opacity: 0.85;
  font-weight: 500;
}

.portfolio-single-section .recent-post-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px !important;
  padding: 10px;
  border-radius: 16px;
  transition: background 0.25s ease;
}

.portfolio-single-section .recent-post-item:hover {
  background: rgba(21, 191, 134, 0.06);
}

.portfolio-single-section .recent-post-item:last-child {
  margin-bottom: 0 !important;
}

.portfolio-single-section .recent-post-item .recent-post-img {
  float: none !important;
  margin-right: 0 !important;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 14px !important;
  overflow: hidden;
  border: 1px solid rgba(21, 191, 134, 0.18);
}

.portfolio-single-section .recent-post-item .recent-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px !important;
}

.portfolio-single-section .recent-post-item .recent-post-body {
  min-width: 0;
  flex: 1;
}

.portfolio-single-section .recent-post-item .recent-post-body .recent-post-title {
  margin-bottom: 6px !important;
  font-size: 0.95rem !important;
  line-height: 1.4 !important;
  color: var(--ni-text, #171718);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portfolio-single-section .recent-post-item .recent-post-body .recent-post-title:hover {
  color: var(--ni-primary, #15bf86) !important;
  text-decoration: none !important;
}

.portfolio-single-section .recent-post-item .recent-post-body .recent-post-date {
  margin: 0;
  font-size: 13px;
  color: var(--ni-muted, #6d7077);
}

.portfolio-single-section .recent-post-item .recent-post-body .recent-post-date i {
  color: var(--ni-primary, #15bf86) !important;
}

.portfolio-single-section .sidebar-share {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.portfolio-single-section .sidebar-share li {
  float: none !important;
  margin: 0 !important;
}

.portfolio-single-section .sidebar-share li a {
  padding: 4px !important;
  border-radius: 50% !important;
  border: 2px solid var(--ni-primary, #15bf86) !important;
  color: var(--ni-primary, #15bf86) !important;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease !important;
}

.portfolio-single-section .sidebar-share li a i {
  background: var(--ni-primary, #15bf86) !important;
  color: #fff !important;
}

.portfolio-single-section .sidebar-share li a:hover {
  transform: translateY(-2px);
  border-color: var(--ni-primary, #15bf86) !important;
}

.portfolio-single-section .sidebar-share li a:hover i {
  background: #12a873 !important;
}

.portfolio-single-section .subscribe-newsletter {
  border-radius: 18px !important;
  padding: 18px !important;
  background: rgba(21, 191, 134, 0.08) !important;
  border: 1px solid rgba(21, 191, 134, 0.18);
  box-shadow: none !important;
  text-align: center;
}

.portfolio-single-section .subscribe-newsletter .icon span {
  color: var(--ni-primary, #15bf86);
  font-size: 28px;
}

.portfolio-single-section .subscribe-newsletter .subscribe-newsletter-text h5 {
  color: var(--ni-text, #171718) !important;
  margin-bottom: 6px;
}

.portfolio-single-section .subscribe-newsletter .subscribe-newsletter-text p {
  color: var(--ni-muted, #6d7077) !important;
  margin-bottom: 14px;
}

.portfolio-single-section .subscribe-newsletter .form-newsletter input {
  background: var(--ni-input-bg, #fff) !important;
  color: var(--ni-text, #171718) !important;
  border: 1px solid var(--ni-border, #e5e7eb) !important;
  border-radius: 999px !important;
}

.portfolio-single-section .subscribe-newsletter .form-newsletter button {
  background: var(--ni-primary, #15bf86) !important;
  border-radius: 999px !important;
}

html[data-theme="dark"] .portfolio-single-section .portfolio-single-card,
html[data-theme="dark"] .portfolio-single-section .portfolio-single-aside .widget-sidebar {
  background: var(--ni-card-bg, #171c19) !important;
  border-color: var(--ni-border, #2a3530);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35) !important;
}

html[data-theme="dark"] .portfolio-single-section .portfolio-single-inner h4,
html[data-theme="dark"] .portfolio-single-section .inner-header-title,
html[data-theme="dark"] .portfolio-single-section .sidebar-details-list ul li h6,
html[data-theme="dark"] .portfolio-single-section .recent-post-item .recent-post-body .recent-post-title,
html[data-theme="dark"] .portfolio-single-section .subscribe-newsletter .subscribe-newsletter-text h5 {
  color: #f1f5f3 !important;
}

html[data-theme="dark"] .portfolio-single-section .portfolio-single-inner .author-meta a,
html[data-theme="dark"] .portfolio-single-section .portfolio-single-desc,
html[data-theme="dark"] .portfolio-single-section .portfolio-single-inner p,
html[data-theme="dark"] .portfolio-single-section .sidebar-details-list ul li h6 span,
html[data-theme="dark"] .portfolio-single-section .recent-post-item .recent-post-body .recent-post-date,
html[data-theme="dark"] .portfolio-single-section .subscribe-newsletter .subscribe-newsletter-text p {
  color: var(--ni-muted, #a7b5ad) !important;
}

html[data-theme="dark"] .portfolio-single-section .sidebar-widgets {
  border-bottom-color: var(--ni-border, #2a3530);
}

html[data-theme="dark"] .portfolio-single-section .sidebar-category-list li a {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: var(--ni-border, #2a3530) !important;
  color: var(--ni-muted, #a7b5ad) !important;
}

html[data-theme="dark"] .portfolio-single-section .sidebar-category-list li a:hover {
  color: #fff !important;
  background: rgba(21, 191, 134, 0.12) !important;
  border-color: rgba(21, 191, 134, 0.4) !important;
}

html[data-theme="dark"] .portfolio-single-section .sidebar-category-list li.active a,
html[data-theme="dark"] .portfolio-single-section .sidebar-category-list li a.active {
  background: var(--ni-primary, #15bf86) !important;
  color: #fff !important;
  border-color: var(--ni-primary, #15bf86) !important;
}

html[data-theme="dark"] .portfolio-single-section .recent-post-item:hover {
  background: rgba(21, 191, 134, 0.08);
}

html[data-theme="dark"] .portfolio-single-section .subscribe-newsletter {
  background: rgba(21, 191, 134, 0.1) !important;
  border-color: rgba(21, 191, 134, 0.22);
}

html[data-theme="dark"] .portfolio-single-section .subscribe-newsletter .form-newsletter input {
  background: var(--ni-input-bg, #141a17) !important;
  border-color: var(--ni-border, #2a3530) !important;
  color: var(--ni-text, #f1f5f3) !important;
}

html[data-theme="light"] .portfolio-single-section {
  background:
    radial-gradient(ellipse 50% 45% at 12% 20%, rgba(21, 191, 134, 0.06), transparent 70%),
    var(--ni-page-bg, #fff);
}

html[data-theme="dark"] .portfolio-single-section {
  background:
    radial-gradient(ellipse 50% 45% at 12% 20%, rgba(21, 191, 134, 0.07), transparent 70%),
    var(--ni-page-bg, #0b0f0d);
}

@media (max-width: 991.98px) {
  .portfolio-single-section .portfolio-single-aside .widget-sidebar {
    position: static;
    margin-top: 28px;
  }

  .portfolio-single-section .portfolio-single-card {
    padding: 14px;
  }
}

@media (max-width: 575.98px) {
  .portfolio-single-section .portfolio-single-inner {
    padding: 4px 2px 2px;
  }

  .portfolio-single-section .portfolio-single-inner h4 {
    font-size: 1.5rem;
  }
}

/* ----------------------------------------------------------------
   Blog listing page ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ full cards visible + modern polish
---------------------------------------------------------------- */
body:not(:has(.hero-banner)) .page-wrapper {
  overflow-x: hidden;
  overflow-y: visible;
}

#blog.page-content-offset,
.page-content-offset#blog {
  padding-top: 140px !important;
  padding-bottom: 110px !important;
}

#blog .row > [class*="col-"] {
  display: flex;
  margin-bottom: 28px;
}

#blog .row > [class*="col-"] > .item,
#blog .row > [class*="col-"] > .blog-item {
  width: 100%;
  display: flex;
}

#blog .blog-item {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 0 !important;
  overflow: hidden !important;
  isolation: isolate;
  border-radius: 22px !important;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.42) 0%, rgba(21, 191, 134, 0.1) 48%, rgba(232, 246, 239, 0.22) 100%) !important;
  background-color: transparent !important;
  border: 1px solid rgba(21, 191, 134, 0.2) !important;
  box-shadow: none !important;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: border-color 0.35s ease, background 0.35s ease !important;
}

#blog .blog-item:hover {
  transform: none;
  border-color: rgba(21, 191, 134, 0.38) !important;
  box-shadow: none !important;
}

#blog .blog-item .blog-img {
  border-radius: 22px 22px 0 0 !important;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(180deg, rgba(21, 191, 134, 0.1) 0%, transparent 100%);
}

#blog .blog-item .blog-img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0 !important;
  display: block;
  mix-blend-mode: multiply;
}

#blog .blog-item .blog-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 24px !important;
  background: transparent !important;
}

#blog .blog-item .blog-body .blog-meta {
  margin-bottom: 12px !important;
}

#blog .blog-item .blog-body .blog-meta a {
  color: var(--ni-primary, #15bf86) !important;
  font-size: 13px;
}

#blog .blog-item .blog-body h5 {
  margin-bottom: 12px !important;
  font-size: 1.1rem;
  line-height: 1.4;
}

#blog .blog-item .blog-body h5 a {
  color: var(--ni-text, #171718) !important;
}

#blog .blog-item .blog-body p {
  flex: 1 1 auto;
  margin-bottom: 16px !important;
  color: var(--ni-muted, #6d7077) !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  line-height: 1.65;
}

#blog .blog-item .blog-body .blog-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ni-primary, #15bf86) !important;
  font-weight: 600;
}

html[data-theme="dark"] #blog .blog-item {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07) 0%, rgba(21, 191, 134, 0.12) 46%, rgba(7, 12, 10, 0.28) 100%) !important;
  background-color: transparent !important;
  border-color: rgba(21, 191, 134, 0.22) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] #blog .blog-item:hover {
  background: linear-gradient(165deg, rgba(21, 191, 134, 0.22) 0%, rgba(255, 255, 255, 0.07) 48%, rgba(7, 12, 10, 0.2) 100%) !important;
  border-color: rgba(21, 191, 134, 0.42) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] #blog .blog-item .blog-img {
  background: linear-gradient(180deg, rgba(21, 191, 134, 0.12) 0%, transparent 100%);
}

html[data-theme="dark"] #blog .blog-item .blog-body h5 a {
  color: #f1f5f3 !important;
}

html[data-theme="dark"] #blog .blog-item .blog-body p {
  color: var(--ni-muted, #a7b5ad) !important;
}

html[data-theme="light"] #blog .blog-item,
html[data-theme="light"] #blog .blog-item:hover {
  background: #ffffff !important;
  background-image: none !important;
  background-color: #ffffff !important;
  border-color: rgba(18, 120, 88, 0.14) !important;
  box-shadow: 0 10px 28px rgba(18, 60, 45, 0.06) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-theme="light"] #blog .blog-item:hover {
  border-color: rgba(21, 191, 134, 0.35) !important;
  box-shadow: 0 14px 32px rgba(18, 60, 45, 0.09) !important;
}

html[data-theme="light"] #blog .blog-item .blog-img {
  background: transparent;
}

html[data-theme="light"] #blog .blog-item .blog-img img {
  mix-blend-mode: normal;
}

@media (max-width: 991.98px) {
  .page-content-offset {
    padding-top: 110px !important;
  }

  #blog.page-content-offset,
  .page-content-offset#blog {
    padding-top: 110px !important;
  }
}

/* ----------------------------------------------------------------
   Blog details page ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ modern polish
---------------------------------------------------------------- */
.blog-details-section .blog-details-card {
  border-radius: 24px;
  padding: 18px;
  background: var(--ni-card-bg, #fff);
  border: 1px solid rgba(21, 191, 134, 0.12);
  box-shadow: 0 16px 40px rgba(15, 20, 18, 0.06);
}

.blog-details-section .blog-post-img {
  margin-bottom: 0;
}

.blog-details-section .blog-post-img img {
  width: 100%;
  display: block;
  border-radius: 18px !important;
}

.blog-details-section .blog-text {
  margin-top: 22px !important;
  padding: 6px 8px 8px;
}

.blog-details-section .blog-text h4 {
  font-size: clamp(1.65rem, 2.2vw, 2.15rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 14px !important;
  color: var(--ni-text, #171718) !important;
}

.blog-details-section .blog-text .author-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 22px !important;
}

.blog-details-section .blog-text .author-meta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 0 !important;
  font-weight: 500 !important;
  font-size: 14px;
  color: var(--ni-muted, #6d7077) !important;
  text-decoration: none !important;
}

.blog-details-section .blog-text .author-meta a:after {
  display: none !important;
}

.blog-details-section .blog-text .author-meta a span {
  margin-right: 0 !important;
  color: var(--ni-primary, #15bf86) !important;
}

.blog-details-section .blog-text .author-meta a:hover {
  color: var(--ni-primary, #15bf86) !important;
}

.blog-details-section .blog-details-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ni-muted, #6d7077);
}

.blog-details-section .blog-details-content h1,
.blog-details-section .blog-details-content h2,
.blog-details-section .blog-details-content h3,
.blog-details-section .blog-details-content h4,
.blog-details-section .blog-details-content h5,
.blog-details-section .blog-details-content h6,
.blog-details-section .blog-details-content strong,
.blog-details-section .blog-details-content b {
  color: var(--ni-text, #171718) !important;
  font-weight: 700;
}

.blog-details-section .blog-details-content p,
.blog-details-section .blog-details-content li,
.blog-details-section .blog-details-content span,
.blog-details-section .blog-details-content div {
  color: var(--ni-muted, #6d7077) !important;
}

.blog-details-section .blog-details-content a {
  color: var(--ni-primary, #15bf86) !important;
}

.blog-details-section .blog-details-content p {
  margin-bottom: 18px;
}

.blog-details-section .blog-details-content ul,
.blog-details-section .blog-details-content ol {
  margin: 0 0 18px;
  padding-left: 1.25rem;
}

.blog-details-section .blog-details-content li {
  margin-bottom: 8px;
  list-style: disc;
}

.blog-details-section .blog-details-aside .widget-sidebar {
  position: sticky;
  top: 110px;
  padding: 22px;
  border-radius: 24px;
  background: var(--ni-card-bg, #fff) !important;
  border: 1px solid rgba(21, 191, 134, 0.12);
  box-shadow: 0 16px 40px rgba(15, 20, 18, 0.06) !important;
}

.blog-details-section .inner-header-title {
  position: relative;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  color: var(--ni-text, #171718);
}

.blog-details-section .inner-header-title:before,
.blog-details-section .inner-header-title:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--ni-primary, #15bf86) !important;
}

.blog-details-section .inner-header-title:before {
  width: 36px;
}

.blog-details-section .inner-header-title:after {
  left: 42px;
  width: 12px;
}

.blog-details-section .sidebar-widgets {
  margin-bottom: 26px !important;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(21, 191, 134, 0.12);
}

.blog-details-section .sidebar-widgets:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0;
  border-bottom: 0;
}

.blog-details-section .blog-search-bar {
  background: transparent !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
}

.blog-details-section .blog-search-bar .search-form-control {
  width: 100%;
  padding: 14px 58px 14px 18px !important;
  border-radius: 999px !important;
  border: 1px solid var(--ni-border, #e5e7eb) !important;
  background: var(--ni-input-bg, #fff) !important;
  color: var(--ni-text, #171718) !important;
}

.blog-details-section .blog-search-bar .blog-search-btn {
  width: 46px !important;
  height: 46px !important;
  top: 50% !important;
  right: 4px !important;
  transform: translateY(-50%);
  border-radius: 999px !important;
  background: var(--ni-primary, #15bf86) !important;
}

.blog-details-section .blog-search-bar .blog-search-btn:hover {
  background: #12a873 !important;
}

.blog-details-section .sidebar-category-list {
  list-style: none;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-details-section .sidebar-category-list li a {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px !important;
  border-radius: 999px !important;
  border: 1px solid var(--ni-border, #e5e7eb) !important;
  background: transparent !important;
  color: var(--ni-muted, #6d7077) !important;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease !important;
}

.blog-details-section .sidebar-category-list li:first-child a,
.blog-details-section .sidebar-category-list li:last-child a {
  border-radius: 999px !important;
}

.blog-details-section .sidebar-category-list li a:hover {
  color: var(--ni-text, #171718) !important;
  border-color: rgba(21, 191, 134, 0.4) !important;
  background: rgba(21, 191, 134, 0.08) !important;
  transform: translateY(-1px);
}

.blog-details-section .sidebar-category-list li.active a,
.blog-details-section .sidebar-category-list li a.active {
  background: var(--ni-primary, #15bf86) !important;
  color: #fff !important;
  border-color: var(--ni-primary, #15bf86) !important;
  box-shadow: 0 10px 22px rgba(21, 191, 134, 0.28) !important;
}

.blog-details-section .recent-post-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px !important;
  padding: 10px;
  border-radius: 16px;
  transition: background 0.25s ease;
}

.blog-details-section .recent-post-item:hover {
  background: rgba(21, 191, 134, 0.06);
}

.blog-details-section .recent-post-item:last-child {
  margin-bottom: 0 !important;
}

.blog-details-section .recent-post-item .recent-post-img {
  float: none !important;
  margin-right: 0 !important;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 14px !important;
  overflow: hidden;
  border: 1px solid rgba(21, 191, 134, 0.18);
}

.blog-details-section .recent-post-item .recent-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px !important;
}

.blog-details-section .recent-post-item .recent-post-body {
  min-width: 0;
  flex: 1;
}

.blog-details-section .recent-post-item .recent-post-body .recent-post-title {
  margin-bottom: 6px !important;
  font-size: 0.95rem !important;
  line-height: 1.4 !important;
  color: var(--ni-text, #171718);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-details-section .recent-post-item .recent-post-body .recent-post-title:hover {
  color: var(--ni-primary, #15bf86) !important;
  text-decoration: none !important;
}

.blog-details-section .recent-post-item .recent-post-body .recent-post-date {
  margin: 0;
  font-size: 13px;
  color: var(--ni-muted, #6d7077);
}

.blog-details-section .recent-post-item .recent-post-body .recent-post-date i {
  color: var(--ni-primary, #15bf86) !important;
}

.blog-details-section .sidebar-share {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-details-section .sidebar-share li {
  float: none !important;
  margin: 0 !important;
}

.blog-details-section .sidebar-share li a {
  padding: 4px !important;
  border-radius: 50% !important;
  border: 2px solid var(--ni-primary, #15bf86) !important;
  color: var(--ni-primary, #15bf86) !important;
}

.blog-details-section .sidebar-share li a i {
  background: var(--ni-primary, #15bf86) !important;
  color: #fff !important;
}

.blog-details-section .sidebar-share li a:hover {
  transform: translateY(-2px);
  border-color: var(--ni-primary, #15bf86) !important;
}

.blog-details-section .sidebar-share li a:hover i {
  background: #12a873 !important;
}

.blog-details-section .sidebar-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-details-section .sidebar-tags li {
  float: none !important;
  margin: 0 !important;
}

.blog-details-section .sidebar-tags li a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(21, 191, 134, 0.35) !important;
  background: rgba(21, 191, 134, 0.08) !important;
  color: var(--ni-text, #171718) !important;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease !important;
}

.blog-details-section .sidebar-tags li a:hover,
.blog-details-section .sidebar-tags li a.active {
  background: var(--ni-primary, #15bf86) !important;
  border-color: var(--ni-primary, #15bf86) !important;
  color: #fff !important;
}

.blog-details-section .comment-item {
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 14px;
  background: rgba(21, 191, 134, 0.05);
  border: 1px solid rgba(21, 191, 134, 0.12);
}

.blog-details-section .comment-form-group .form-control {
  border-radius: 14px !important;
  border: 1px solid var(--ni-border, #e5e7eb) !important;
  background: var(--ni-input-bg, #fff) !important;
  color: var(--ni-text, #171718) !important;
}

.blog-details-section .leave-comment-wrapper .primary-btn {
  background: linear-gradient(135deg, #23e0a3 0%, #15bf86 48%, #0d8f63 100%) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .blog-details-section .blog-details-card,
html[data-theme="dark"] .blog-details-section .blog-details-aside .widget-sidebar {
  background: var(--ni-card-bg, #171c19) !important;
  border-color: var(--ni-border, #2a3530);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35) !important;
}

html[data-theme="dark"] .blog-details-section .blog-text h4,
html[data-theme="dark"] .blog-details-section .inner-header-title,
html[data-theme="dark"] .blog-details-section .blog-details-content h1,
html[data-theme="dark"] .blog-details-section .blog-details-content h2,
html[data-theme="dark"] .blog-details-section .blog-details-content h3,
html[data-theme="dark"] .blog-details-section .blog-details-content h4,
html[data-theme="dark"] .blog-details-section .blog-details-content h5,
html[data-theme="dark"] .blog-details-section .blog-details-content h6,
html[data-theme="dark"] .blog-details-section .blog-details-content strong,
html[data-theme="dark"] .blog-details-section .blog-details-content b,
html[data-theme="dark"] .blog-details-section .recent-post-item .recent-post-body .recent-post-title {
  color: #f1f5f3 !important;
}

html[data-theme="dark"] .blog-details-section .blog-text .author-meta a,
html[data-theme="dark"] .blog-details-section .blog-details-content,
html[data-theme="dark"] .blog-details-section .blog-details-content p,
html[data-theme="dark"] .blog-details-section .blog-details-content li,
html[data-theme="dark"] .blog-details-section .blog-details-content span,
html[data-theme="dark"] .blog-details-section .blog-details-content div,
html[data-theme="dark"] .blog-details-section .recent-post-item .recent-post-body .recent-post-date {
  color: var(--ni-muted, #a7b5ad) !important;
}

html[data-theme="dark"] .blog-details-section .sidebar-widgets {
  border-bottom-color: var(--ni-border, #2a3530);
}

html[data-theme="dark"] .blog-details-section .sidebar-category-list li a {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: var(--ni-border, #2a3530) !important;
  color: var(--ni-muted, #a7b5ad) !important;
}

html[data-theme="dark"] .blog-details-section .sidebar-category-list li a:hover {
  color: #fff !important;
  background: rgba(21, 191, 134, 0.12) !important;
  border-color: rgba(21, 191, 134, 0.4) !important;
}

html[data-theme="dark"] .blog-details-section .sidebar-category-list li.active a,
html[data-theme="dark"] .blog-details-section .sidebar-category-list li a.active {
  background: var(--ni-primary, #15bf86) !important;
  color: #fff !important;
  border-color: var(--ni-primary, #15bf86) !important;
}

html[data-theme="dark"] .blog-details-section .blog-search-bar .search-form-control,
html[data-theme="dark"] .blog-details-section .comment-form-group .form-control {
  background: var(--ni-input-bg, #141a17) !important;
  border-color: var(--ni-border, #2a3530) !important;
  color: var(--ni-text, #f1f5f3) !important;
}

html[data-theme="dark"] .blog-details-section .sidebar-tags li a {
  background: rgba(21, 191, 134, 0.1) !important;
  border-color: rgba(21, 191, 134, 0.35) !important;
  color: #f1f5f3 !important;
}

html[data-theme="dark"] .blog-details-section .comment-item {
  background: rgba(21, 191, 134, 0.08);
  border-color: var(--ni-border, #2a3530);
}

html[data-theme="light"] .blog-details-section {
  background:
    radial-gradient(ellipse 50% 45% at 12% 18%, rgba(21, 191, 134, 0.06), transparent 70%),
    var(--ni-page-bg, #fff);
}

html[data-theme="dark"] .blog-details-section {
  background:
    radial-gradient(ellipse 50% 45% at 12% 18%, rgba(21, 191, 134, 0.07), transparent 70%),
    var(--ni-page-bg, #0b0f0d);
}

@media (max-width: 991.98px) {
  .blog-details-section .blog-details-aside .widget-sidebar {
    position: static;
    margin-top: 28px;
  }

  .blog-details-section .blog-details-card {
    padding: 14px;
  }
}

/* ----------------------------------------------------------------
   Nice select / dropdown (frontend)
---------------------------------------------------------------- */
.ni-select {
  position: relative;
  width: 100%;
  z-index: 1;
}

.ni-select.is-open {
  z-index: 40;
}

.ni-select__native {
  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;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.ni-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 42px;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--ni-border, #e5ece8);
  border-radius: 8px;
  background: var(--ni-input-bg, #fff) !important;
  color: var(--ni-text, #111827) !important;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, border-radius 0.15s ease;
}

.ni-select__trigger:hover {
  border-color: rgba(21, 191, 134, 0.35);
}

.ni-select.is-open .ni-select__trigger {
  border-color: rgba(21, 191, 134, 0.45);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
}

.ni-select__trigger:focus,
.ni-select__trigger:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border-color: rgba(21, 191, 134, 0.45);
}

.ni-select__value {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ni-text, #111827);
}

.ni-select__caret {
  font-size: 11px;
  color: var(--ni-muted, #6b7280);
  transition: transform 0.2s ease, color 0.18s ease;
}

.ni-select.is-open .ni-select__caret {
  transform: rotate(180deg);
  color: var(--ni-primary, #15bf86);
}

.ni-select__dropdown {
  position: absolute;
  z-index: 1060;
  top: calc(100% - 1px);
  left: 0;
  right: 0;
  padding: 6px;
  border: 1px solid rgba(21, 191, 134, 0.45);
  border-top: 1px solid var(--ni-border, #e5ece8);
  border-radius: 0 0 8px 8px;
  background: var(--ni-surface, #fff) !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  overflow: hidden;
  animation: ni-select-in 0.14s ease;
}

@keyframes ni-select-in {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ni-select__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 240px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.35) transparent;
}

.ni-select__list::-webkit-scrollbar {
  width: 4px;
}

.ni-select__list::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 999px;
}

.ni-select__option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  padding: 0.55rem 0.75rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ni-text, #111827) !important;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}

.ni-select__option:hover,
.ni-select__option:focus,
.ni-select__option:focus-visible,
.ni-select__option.is-active {
  outline: none !important;
  box-shadow: none !important;
  background: rgba(17, 24, 39, 0.04);
  color: var(--ni-text, #111827) !important;
}

.ni-select__option.is-selected {
  background: rgba(21, 191, 134, 0.12) !important;
  color: var(--ni-primary, #15bf86) !important;
  font-weight: 600;
}

.ni-select__option.is-selected:hover,
.ni-select__option.is-selected.is-active,
.ni-select__option.is-selected:focus {
  background: rgba(21, 191, 134, 0.18) !important;
  color: var(--ni-primary, #15bf86) !important;
}

.ni-select__option-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.3;
}

.ni-select__check {
  opacity: 0;
  color: var(--ni-primary, #15bf86);
  font-size: 11px;
  flex-shrink: 0;
}

.ni-select__option.is-selected .ni-select__check {
  opacity: 1;
}

html[data-theme="dark"] .ni-select__trigger {
  background: var(--ni-input-bg, #12151c) !important;
  border-color: var(--ni-border, #2a2f3a);
  color: var(--ni-text, #f3f4f6) !important;
}

html[data-theme="dark"] .ni-select__dropdown {
  background: var(--ni-surface, #171a21) !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .ni-select__option:hover,
html[data-theme="dark"] .ni-select__option:focus,
html[data-theme="dark"] .ni-select__option:focus-visible,
html[data-theme="dark"] .ni-select__option.is-active {
  background: rgba(255, 255, 255, 0.05);
}

body.ni-spa-loading::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 99999;
  background: linear-gradient(90deg, transparent, rgba(160, 168, 176, 0.55), transparent);
  animation: ni-spa-progress 0.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ni-spa-progress {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ----------------------------------------------------------------
   Contact section ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ modern two-column layout
---------------------------------------------------------------- */
.contact-section {
  position: relative;
  overflow: hidden;
  background: transparent !important;
}

html[data-theme="dark"] .contact-section,
html[data-theme="light"] .contact-section {
  background: transparent !important;
  background-color: transparent !important;
}

.contact-section .section-heading {
  margin-bottom: 40px;
}

.contact-layout {
  align-items: stretch !important;
}

.contact-layout > [class*="col-"] {
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  flex: 1 1 auto;
}

.contact-section .contact-info-item {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1 1 0;
  margin: 0;
  padding: 22px 22px;
  border-radius: 20px !important;
  background: var(--ni-glass) !important;
  border: 1px solid var(--ni-glass-border, rgba(21, 191, 134, 0.12));
  box-shadow: var(--ni-glass-shadow) !important;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.contact-section .contact-info-item:hover {
  transform: translateY(-4px);
  border-color: rgba(21, 191, 134, 0.28);
  box-shadow: 0 16px 40px rgba(21, 191, 134, 0.14) !important;
}

.contact-section .contact-info-item .icon {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  margin: 0 !important;
  padding: 6px !important;
  border-radius: 50%;
  border: 1.5px solid var(--ni-primary, #15bf86) !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-section .contact-info-item .icon span {
  width: 52px !important;
  height: 52px !important;
  line-height: 52px !important;
  font-size: 20px !important;
  border-radius: 50%;
  color: #fff !important;
  background: var(--ni-primary, #15bf86) !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-section .contact-info-item .body {
  min-width: 0;
}

.contact-section .contact-info-item .body h5 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ni-text, #171718);
}

.contact-section .contact-info-item .body p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ni-muted, #6d7077);
}

.contact-section .contact-info-item .body p a {
  color: inherit;
  text-decoration: none;
}

.contact-section .contact-info-item .body p a:hover {
  color: var(--ni-primary, #15bf86);
}

.contact-form-card {
  height: 100%;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.contact-form-card .contact-form-wrap,
.contact-section .contact-form-wrap,
html[data-theme="dark"] .contact-section .contact-form-wrap {
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.contact-form-card .contact-form-wrap > form,
.contact-section .contact-form-wrap > form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
}

.contact-form-card .contact-form-wrap > form > .row,
.contact-section .contact-form-wrap > form > .row {
  flex: 1 1 auto;
}

.contact-section .contact-form-group {
  margin-bottom: 16px;
}

.contact-section .contact-form-group .form-control {
  border-radius: 20px !important;
  background: var(--ni-glass) !important;
  border: 1px solid var(--ni-glass-border, rgba(21, 191, 134, 0.28)) !important;
  box-shadow: var(--ni-glass-shadow) !important;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.contact-section .contact-form-group .form-control:focus {
  border-color: rgba(21, 191, 134, 0.5) !important;
  box-shadow: var(--ni-glass-shadow) !important;
}

.contact-section .contact-form-group .form-control.is-invalid,
.contact-section .contact-form-group .form-control.is-invalid:focus {
  border-color: rgba(255, 107, 107, 0.7) !important;
}

.contact-field-error {
  display: none;
  margin-top: 8px;
  padding: 0 4px;
  font-size: 13px;
  line-height: 1.4;
  color: #ff6b6b;
}

.contact-field-error.is-visible {
  display: block;
}

.contact-form-status {
  display: none;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.4;
}

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

.contact-form-status.is-success {
  color: #15bf86;
}

.contact-form-status.is-error {
  color: #ff6b6b;
}

.contact-section .contact-btn-left .primary-btn.is-loading .icon i {
  display: none !important;
}

.contact-section .contact-btn-left .primary-btn .contact-btn-spinner {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(21, 191, 134, 0.25);
  border-top-color: #15bf86;
  border-radius: 50%;
  display: none;
  animation: ni-contact-spin 0.7s linear infinite;
  flex-shrink: 0;
}

.contact-section .contact-btn-left .primary-btn.is-loading .contact-btn-spinner {
  display: block;
}

@keyframes ni-contact-spin {
  to {
    transform: rotate(360deg);
  }
}

.contact-section .contact-btn-left {
  margin-top: 4px;
  width: 100%;
  text-align: left;
}

.contact-section .contact-btn-left .primary-btn {
  width: 100%;
  display: flex !important;
  justify-content: space-between;
  border-radius: 10px !important;
  background: var(--ni-glass) !important;
  border: 1px solid var(--ni-glass-border, rgba(21, 191, 134, 0.28)) !important;
  box-shadow: var(--ni-glass-shadow) !important;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  cursor: pointer !important;
}

.contact-section .contact-btn-left .primary-btn:hover,
.contact-section .contact-btn-left .primary-btn:disabled {
  background: var(--ni-glass-hover) !important;
  transform: none !important;
  cursor: pointer !important;
}

html[data-theme="light"] .contact-section .contact-btn-left .primary-btn,
html[data-theme="light"] .contact-section .contact-btn-left .primary-btn:hover,
html[data-theme="light"] .contact-section .contact-btn-left .primary-btn:disabled {
  background: #15bf86 !important;
  background-image: none !important;
  border: 1.5px solid #15bf86 !important;
  box-shadow: 0 12px 28px rgba(21, 191, 134, 0.28) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #fff !important;
}

html[data-theme="light"] .contact-section .contact-btn-left .primary-btn:hover {
  background: #12a974 !important;
  border-color: #12a974 !important;
  box-shadow: 0 14px 32px rgba(21, 191, 134, 0.34) !important;
  color: #fff !important;
}

html[data-theme="light"] .contact-section .contact-btn-left .primary-btn .text,
html[data-theme="light"] .contact-section .contact-btn-left .primary-btn:hover .text {
  color: inherit !important;
}

html[data-theme="light"] .contact-section .contact-btn-left .primary-btn .icon::before,
html[data-theme="light"] .contact-section .contact-btn-left .primary-btn:hover .icon::before {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
}

html[data-theme="light"] .contact-section .contact-btn-left .primary-btn .icon i,
html[data-theme="light"] .contact-section .contact-btn-left .primary-btn:hover .icon i {
  background: #ffffff !important;
  background-image: none !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 11h11.17l-3.58-3.59L13 6l6 6-6 6-1.41-1.41L15.17 13H4v-2z'/%3E%3C/svg%3E") center / 18px 18px no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 11h11.17l-3.58-3.59L13 6l6 6-6 6-1.41-1.41L15.17 13H4v-2z'/%3E%3C/svg%3E") center / 18px 18px no-repeat !important;
  border-radius: 0 !important;
}

html[data-theme="light"] .contact-section .contact-btn-left .primary-btn .icon i::before,
html[data-theme="light"] .contact-section .contact-btn-left .primary-btn .icon i::after,
html[data-theme="light"] .contact-section .contact-btn-left .primary-btn:hover .icon i::before,
html[data-theme="light"] .contact-section .contact-btn-left .primary-btn:hover .icon i::after {
  content: none !important;
  display: none !important;
}

html[data-theme="dark"] .contact-section .contact-info-item {
  background: var(--ni-glass) !important;
  border-color: var(--ni-glass-border);
}

html[data-theme="dark"] .contact-form-card {
  background: transparent !important;
  border: none;
  box-shadow: none;
}

html[data-theme="light"] .contact-section .contact-info-item {
  background: #ffffff !important;
  border: 1px solid rgba(18, 120, 88, 0.16) !important;
  box-shadow: 0 12px 30px rgba(18, 60, 45, 0.07) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-theme="light"] .contact-section .contact-info-item:hover {
  border-color: rgba(21, 191, 134, 0.35) !important;
  box-shadow: 0 16px 36px rgba(18, 60, 45, 0.1) !important;
  background: #ffffff !important;
}

html[data-theme="light"] .contact-section .contact-info-item .body h5 {
  color: #12201b !important;
}

html[data-theme="light"] .contact-section .contact-info-item .body p,
html[data-theme="light"] .contact-section .contact-info-item .body p a {
  color: #5a675f !important;
}

html[data-theme="light"] .contact-form-card {
  background: #ffffff !important;
  border: 1px solid rgba(18, 120, 88, 0.14);
  border-radius: 24px;
  padding: 28px 28px 24px;
  box-shadow: 0 14px 40px rgba(18, 60, 45, 0.08);
}

html[data-theme="light"] .contact-section .contact-form-wrap,
html[data-theme="light"] .contact-form-card .contact-form-wrap {
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .contact-section .contact-form-group .form-control,
html[data-theme="dark"] .contact-section .contact-form-group .form-control:focus {
  background: var(--ni-glass) !important;
  background-color: transparent !important;
  border-color: var(--ni-glass-border, rgba(21, 191, 134, 0.28)) !important;
}

html[data-theme="light"] .contact-section .contact-form-group .form-control,
html[data-theme="light"] .contact-section .contact-form-group .form-control:focus,
html[data-theme="light"] .contact-form-wrap .contact-form-group .form-control,
html[data-theme="light"] .contact-form-wrap .contact-form-group .form-control:focus {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border: 1.5px solid rgba(18, 120, 88, 0.22) !important;
  box-shadow: none !important;
  outline: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #12201b !important;
}

html[data-theme="light"] .contact-section .contact-form-group .form-control::placeholder,
html[data-theme="light"] .contact-form-wrap .contact-form-group .form-control::placeholder {
  color: #667872 !important;
  opacity: 1;
}

html[data-theme="light"] .contact-section .contact-form-group input.form-control:not(:placeholder-shown),
html[data-theme="light"] .contact-form-wrap .contact-form-group input.form-control:not(:placeholder-shown) {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #12201b !important;
}

.contact-section .contact-form-group .form-control,
.contact-form-wrap .contact-form-group .form-control {
  background-color: transparent !important;
}

html[data-theme="light"] .contact-section .contact-form-group .form-control,
html[data-theme="light"] .contact-form-wrap .contact-form-group .form-control {
  background-color: #ffffff !important;
}

.ni-contact-guard {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.contact-section .contact-form-group input.form-control:not(:placeholder-shown),
.contact-form-wrap .contact-form-group input.form-control:not(:placeholder-shown) {
  background: var(--ni-glass) !important;
  background-color: transparent !important;
  color: var(--ni-text, #f3f4f6) !important;
}

.contact-section .contact-form-group input.form-control:-webkit-autofill,
.contact-section .contact-form-group input.form-control:-webkit-autofill:hover,
.contact-section .contact-form-group input.form-control:-webkit-autofill:focus,
.contact-section .contact-form-group input.form-control:-webkit-autofill:active,
.contact-form-wrap .contact-form-group input.form-control:-webkit-autofill,
.contact-form-wrap .contact-form-group input.form-control:-webkit-autofill:hover,
.contact-form-wrap .contact-form-group input.form-control:-webkit-autofill:focus,
.contact-form-wrap .contact-form-group input.form-control:-webkit-autofill:active,
.contact-section .contact-form-group input.form-control:autofill,
.contact-form-wrap .contact-form-group input.form-control:autofill {
  -webkit-text-fill-color: var(--ni-text, #f3f4f6) !important;
  caret-color: var(--ni-text, #f3f4f6);
  border: 1px solid var(--ni-glass-border, rgba(21, 191, 134, 0.28)) !important;
  transition: background-color 99999s ease-in-out 0s, color 99999s ease-in-out 0s;
  -webkit-box-shadow: 0 0 0 1000px rgba(7, 12, 10, 0.28) inset !important;
  box-shadow: 0 0 0 1000px rgba(7, 12, 10, 0.28) inset !important;
  background: var(--ni-glass) !important;
  background-color: transparent !important;
}

html[data-theme="light"] .contact-section .contact-form-group input.form-control:-webkit-autofill,
html[data-theme="light"] .contact-section .contact-form-group input.form-control:-webkit-autofill:hover,
html[data-theme="light"] .contact-section .contact-form-group input.form-control:-webkit-autofill:focus,
html[data-theme="light"] .contact-section .contact-form-group input.form-control:-webkit-autofill:active,
html[data-theme="light"] .contact-form-wrap .contact-form-group input.form-control:-webkit-autofill,
html[data-theme="light"] .contact-form-wrap .contact-form-group input.form-control:-webkit-autofill:hover,
html[data-theme="light"] .contact-form-wrap .contact-form-group input.form-control:-webkit-autofill:focus,
html[data-theme="light"] .contact-form-wrap .contact-form-group input.form-control:-webkit-autofill:active,
html[data-theme="light"] .contact-section .contact-form-group input.form-control:autofill,
html[data-theme="light"] .contact-form-wrap .contact-form-group input.form-control:autofill {
  -webkit-text-fill-color: #12201b !important;
  caret-color: #12201b;
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  box-shadow: 0 0 0 1000px #ffffff inset !important;
}

@media (max-width: 991.98px) {
  .contact-info-list {
    margin-bottom: 24px;
    height: auto;
  }

  .contact-section .contact-info-item {
    flex: 0 0 auto;
  }

  .contact-form-card {
    padding: 0;
    height: auto;
  }

  html[data-theme="light"] .contact-form-card {
    padding: 22px 18px 18px;
  }
}

/* Heading rows with decorative dots on the right */
.ni-heading-dots {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100%;
  overflow: hidden;
}

.ni-heading-dots > [class*="col-"] {
  max-width: calc(100% - 80px);
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}

.ni-heading-dots::after {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 66px;
  height: 66px;
  margin-right: 0;
  margin-left: 12px;
  background-image:
    radial-gradient(circle, var(--ni-primary, #15bf86) 2.5px, transparent 2.5px),
    radial-gradient(circle, var(--ni-primary, #15bf86) 2.5px, transparent 2.5px),
    radial-gradient(circle, var(--ni-primary, #15bf86) 2.5px, transparent 2.5px),
    radial-gradient(circle, rgba(21,191,134,0.45) 2.5px, transparent 2.5px),
    radial-gradient(circle, rgba(21,191,134,0.45) 2.5px, transparent 2.5px),
    radial-gradient(circle, rgba(21,191,134,0.45) 2.5px, transparent 2.5px),
    radial-gradient(circle, rgba(21,191,134,0.18) 2.5px, transparent 2.5px),
    radial-gradient(circle, rgba(21,191,134,0.18) 2.5px, transparent 2.5px),
    radial-gradient(circle, rgba(21,191,134,0.18) 2.5px, transparent 2.5px);
  background-position:
    0px 0px,  22px 0px,  44px 0px,
    0px 22px, 22px 22px, 44px 22px,
    0px 44px, 22px 44px, 44px 44px;
  background-repeat: no-repeat;
  align-self: center;
  margin-bottom: 40px;
  opacity: 0.8;
}

/* Mobile: hide decorative dots and restore normal layout */
@media (max-width: 767.98px) {
  .section .row.justify-content-center:has(.section-heading:not(.counters-heading)) {
    flex-wrap: wrap;
  }
  .section .row.justify-content-center:has(.section-heading:not(.counters-heading))::after,
  .ni-heading-dots::after {
    display: none;
  }
  .ni-heading-dots {
    flex-wrap: wrap;
  }

  .ni-heading-dots > [class*="col-"] {
    max-width: 100% !important;
    flex: 0 0 100% !important;
    width: 100% !important;
  }

  .ni-heading-dots .section-heading,
  .ni-heading-dots .section-heading h2 {
    width: 100%;
    max-width: 100% !important;
  }
}

/* Click splash / glass-shatter burst */
.ni-click-fx {
  position: fixed;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  z-index: 99999;
  pointer-events: none;
}

.ni-click-fx__ring {
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(21, 191, 134, 0.7);
  border-radius: 50%;
  opacity: 0.85;
  animation: ni-click-ring 0.7s cubic-bezier(0.16, 0.84, 0.44, 1) forwards;
}

.ni-click-fx__ring--2 {
  animation-delay: 0.05s;
  border-color: rgba(255, 255, 255, 0.38);
}

.ni-click-fx__ring--3 {
  animation-delay: 0.1s;
  border-width: 1px;
  border-color: rgba(21, 191, 134, 0.32);
}

.ni-click-fx__dot {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--size, 6px);
  height: var(--size, 6px);
  margin: calc(var(--size, 6px) / -2) 0 0 calc(var(--size, 6px) / -2);
  border-radius: 50%;
  background: var(--dot-color, #15bf86);
  box-shadow: 0 0 8px rgba(21, 191, 134, 0.45);
  opacity: 1;
  animation: ni-click-splash var(--life, 720ms) cubic-bezier(0.12, 0.72, 0.28, 1) forwards;
}

.ni-click-fx__dot.is-shard {
  border-radius: 1px 6px 2px 5px;
  transform-origin: center;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.18);
}

@keyframes ni-click-ring {
  0% {
    transform: scale(0.2);
    opacity: 0.8;
  }
  100% {
    transform: scale(var(--ring-scale, 9));
    opacity: 0;
  }
}

@keyframes ni-click-splash {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 1;
  }
  72% {
    opacity: 0.95;
  }
  100% {
    transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(0.15);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ni-click-fx {
    display: none;
    animation: none;
  }

  .ni-cursor-trail {
    display: none;
    animation: none;
  }
}

/* Mouse move trail ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ tiny drifting dots */
.ni-cursor-trail {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--size, 4px);
  height: var(--size, 4px);
  margin: calc(var(--size, 4px) / -2) 0 0 calc(var(--size, 4px) / -2);
  border-radius: 50%;
  background: var(--dot-color, #15bf86);
  box-shadow: 0 0 8px rgba(21, 191, 134, 0.42);
  pointer-events: none;
  z-index: 99998;
  opacity: 0.88;
  will-change: transform, opacity;
  animation: ni-cursor-trail-fade var(--life, 600ms) ease-out forwards;
}

@keyframes ni-cursor-trail-fade {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.92;
  }
  100% {
    transform: translate(var(--drift-x), var(--drift-y)) scale(0.15);
    opacity: 0;
  }
}

/* Technology / features ÃÂÃÂ¢ÃÂÃÂÃÂÃÂ premium icon grid + tooltips */
#myresume {
  overflow: visible;
}

#myresume .tech-grid {
  row-gap: 20px;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100%;
}

#myresume .tech-grid > [class*="col-"] {
  display: flex;
  overflow: visible;
  padding-left: 15px;
  padding-right: 15px;
}

#myresume .tech-item {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 8px 14px;
  margin: 0;
  text-align: center;
  text-decoration: none !important;
  color: inherit;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-radius: 20px;
  cursor: pointer;
  outline: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}

#myresume a.tech-item:hover,
#myresume a.tech-item:focus,
#myresume a.tech-item:focus-visible {
  text-decoration: none !important;
  color: inherit;
}

#myresume .tech-item.has-tooltip {
  cursor: pointer;
}

#myresume .tech-item:hover,
#myresume .tech-item:focus-within {
  transform: translateY(-6px);
  z-index: 20;
}

#myresume .tech-icon-wrap {
  position: relative;
  width: 118px;
  height: 118px;
  min-width: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
  flex-shrink: 0;
  border-radius: 50%;
}

#myresume .tech-icon-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(21, 191, 134, 0.18), rgba(21, 191, 134, 0.05) 55%, transparent 72%);
  opacity: 0.45;
  transform: scale(0.9);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

#myresume .tech-icon-wrap::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1.5px solid rgba(21, 191, 134, 0.75);
  box-shadow: 0 0 0 4px rgba(21, 191, 134, 0.08), 0 0 24px rgba(21, 191, 134, 0.22);
  opacity: 0;
  transform: scale(0.86);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

#myresume .tech-item:hover .tech-icon-wrap::before,
#myresume .tech-item:focus-within .tech-icon-wrap::before {
  opacity: 1;
  transform: scale(1);
}

#myresume .tech-item:hover .tech-icon-wrap::after,
#myresume .tech-item:focus-within .tech-icon-wrap::after {
  opacity: 1;
  transform: scale(1);
}

#myresume .tech-logo {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 92px;
  min-width: 92px;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
  margin: 0 !important;
  border-radius: 0 !important;
  opacity: 0.96;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease, filter 0.35s ease;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.18));
}

#myresume .tech-item:hover .tech-logo,
#myresume .tech-item:focus-within .tech-logo {
  transform: scale(1.08);
  opacity: 1;
  filter: drop-shadow(0 12px 22px rgba(21, 191, 134, 0.28));
}

#myresume .tech-logo--typescript,
#myresume .tech-icon-wrap--main .tech-logo--typescript {
  width: 68px !important;
  height: 68px !important;
  min-width: 68px !important;
}

#myresume .tech-item:hover .tech-logo--typescript,
#myresume .tech-item:focus-within .tech-logo--typescript {
  transform: scale(1.06);
}

#myresume .tech-fa-icon {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 92px;
  min-width: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

#myresume .tech-fa-icon span {
  font-size: 52px !important;
  line-height: 1 !important;
  color: var(--ni-primary, #15bf86) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

#myresume .tech-item h5 {
  margin: 0 !important;
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--ni-text, #fff);
  transition: color 0.25s ease;
}

#myresume .tech-item:hover h5,
#myresume .tech-item:focus-within h5 {
  color: var(--ni-primary, #15bf86);
}

#myresume .tech-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 18px);
  transform: translateX(-50%) translateY(10px) scale(0.98);
  width: min(240px, calc(100vw - 32px));
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(8, 14, 12, 0.94);
  border: 1px solid rgba(21, 191, 134, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  color: #e8f5ef;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.01em;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.45s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.45s ease;
  transition-delay: 0s;
  z-index: 30;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

#myresume .tech-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: rgba(21, 191, 134, 0.45);
}

#myresume .tech-item.has-tooltip:hover .tech-tooltip,
#myresume .tech-item.has-tooltip:focus-within .tech-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
  transition-delay: 2s;
}

#myresume .tech-icon-wrap--main {
  width: 118px;
  height: 118px;
  min-width: 118px;
}

#myresume .tech-icon-wrap--main .tech-logo,
#myresume .tech-icon-wrap--main .tech-fa-icon {
  width: 92px;
  height: 92px;
  min-width: 92px;
}

#myresume .tech-icon-wrap--sub {
  width: 64px;
  height: 64px;
  min-width: 64px;
}

#myresume .tech-icon-wrap--sub .tech-logo,
#myresume .tech-icon-wrap--sub .tech-fa-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
}

#myresume .tech-icon-wrap--sub .tech-fa-icon span {
  font-size: 28px !important;
}

#myresume .tech-item--sub {
  gap: 10px;
  padding: 14px 8px 12px;
}

#myresume .tech-item--sub h5 {
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0.92;
}

#myresume .tech-item--sub .tech-tooltip {
  width: min(220px, calc(100vw - 32px));
  font-size: 12px;
  padding: 10px 12px;
}

/* Mouse-follow sparkles on tech icons */
.ni-tech-spark {
  position: fixed;
  width: var(--size, 6px);
  height: var(--size, 6px);
  margin: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  background: var(--dot-color, #15bf86);
  box-shadow: 0 0 10px var(--dot-color, #15bf86);
  opacity: 0.95;
  transform: translate(-50%, -50%) scale(1);
  animation: ni-tech-spark-fade var(--life, 520ms) ease-out forwards;
}

.ni-tech-spark.is-star {
  border-radius: 2px;
  transform: translate(-50%, -50%) rotate(45deg) scale(1);
  animation-name: ni-tech-spark-fade-star;
}

@keyframes ni-tech-spark-fade {
  0% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 0px))) scale(0.15);
  }
}

@keyframes ni-tech-spark-fade-star {
  0% {
    opacity: 0.95;
    transform: translate(-50%, -50%) rotate(45deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 0px))) rotate(200deg) scale(0.1);
  }
}

@media (min-width: 1200px) {
  #myresume .tech-grid--main {
    row-gap: 24px;
  }
}

@media (max-width: 575.98px) {
  #myresume .tech-icon-wrap--main {
    width: 92px;
    height: 92px;
    min-width: 92px;
  }

  #myresume .tech-icon-wrap--main .tech-logo,
  #myresume .tech-icon-wrap--main .tech-fa-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
  }

  #myresume .tech-logo--typescript,
  #myresume .tech-icon-wrap--main .tech-logo--typescript {
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
  }

  #myresume .tech-icon-wrap::after {
    inset: -8px;
  }

  #myresume .tech-fa-icon span {
    font-size: 40px !important;
  }

  #myresume .tech-item h5 {
    font-size: 0.92rem;
  }

  #myresume .tech-tooltip {
    width: min(200px, calc(100vw - 24px));
    font-size: 12px;
  }
}

html[data-theme="light"] #myresume .tech-tooltip {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(21, 191, 134, 0.32);
  color: #1f2933;
  box-shadow: 0 16px 36px rgba(15, 23, 20, 0.14);
}

html[data-theme="light"] #myresume .tech-tooltip::after {
  border-top-color: rgba(21, 191, 134, 0.4);
}

html[data-theme="light"] #myresume .tech-icon-wrap::before {
  background: radial-gradient(
    circle at 50% 52%,
    rgba(21, 191, 134, 0.16) 0%,
    rgba(21, 191, 134, 0.06) 38%,
    transparent 68%
  );
  opacity: 0.7;
  transform: scale(0.88);
  filter: blur(2px);
}

html[data-theme="light"] #myresume .tech-item:hover .tech-icon-wrap::before,
html[data-theme="light"] #myresume .tech-item:focus-within .tech-icon-wrap::before {
  opacity: 1;
  transform: scale(1.02);
  background: radial-gradient(
    circle at 50% 48%,
    rgba(21, 191, 134, 0.22) 0%,
    rgba(21, 191, 134, 0.08) 42%,
    transparent 70%
  );
}

html[data-theme="light"] #myresume .tech-icon-wrap::after {
  border-color: rgba(21, 191, 134, 0.45);
  box-shadow: 0 0 0 5px rgba(21, 191, 134, 0.06), 0 0 28px rgba(21, 191, 134, 0.16);
}

html[data-theme="light"] #myresume .tech-logo,
html[data-theme="light"] #myresume .tech-fa-icon span {
  filter: drop-shadow(0 10px 18px rgba(21, 191, 134, 0.14));
}

html[data-theme="light"] #myresume .tech-item:hover .tech-logo,
html[data-theme="light"] #myresume .tech-item:focus-within .tech-logo,
html[data-theme="light"] #myresume .tech-item:hover .tech-fa-icon span,
html[data-theme="light"] #myresume .tech-item:focus-within .tech-fa-icon span {
  filter: drop-shadow(0 14px 24px rgba(21, 191, 134, 0.26));
}

html[data-theme="dark"] #myresume .tech-item,
html[data-theme="light"] #myresume .tech-item,
html[data-theme="dark"] #myresume .tech-item:hover,
html[data-theme="light"] #myresume .tech-item:hover {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

@media (prefers-reduced-motion: reduce) {
  #myresume .tech-item,
  #myresume .tech-logo,
  #myresume .tech-icon-wrap::before,
  #myresume .tech-icon-wrap::after,
  #myresume .tech-tooltip {
    transition: none !important;
  }

  .ni-tech-spark {
    display: none !important;
  }
}

/* ============================================================
   Portfolio / Blog detail pages ÃÂÃÂ theme green UI
   ============================================================ */
.ni-detail-page {
  --ni-detail-accent: var(--ni-primary, #15bf86);
  --ni-detail-accent-2: #23e0a3;
  --ni-detail-surface: rgba(12, 20, 17, 0.72);
  --ni-detail-surface-2: rgba(18, 30, 25, 0.88);
  --ni-detail-border: rgba(21, 191, 134, 0.22);
  --ni-detail-text: var(--ni-text, #f3f4f6);
  --ni-detail-muted: var(--ni-muted, #a7b5ad);
}

/* Header is ~84px — keep a small gap, not a large empty band */
.section.page-content-offset.ni-detail-page,
.ni-detail-page.page-content-offset {
  padding-top: 100px !important;
  padding-bottom: 80px !important;
}

@media (max-width: 991.98px) {
  .section.page-content-offset.ni-detail-page,
  .ni-detail-page.page-content-offset {
    padding-top: 88px !important;
    padding-bottom: 64px !important;
  }
}

html[data-theme="light"] .ni-detail-page {
  --ni-detail-surface: #ffffff;
  --ni-detail-surface-2: #ffffff;
  --ni-detail-border: rgba(18, 120, 88, 0.14);
  --ni-detail-text: var(--ni-text, #12201b);
  --ni-detail-muted: var(--ni-muted, #5a675f);
}

.ni-detail-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.ni-detail-hero__title {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--ni-primary, #15bf86);
}

.ni-detail-hero__lead {
  margin: 0;
  max-width: 58ch;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ni-detail-muted);
}

.ni-detail-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.ni-detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none !important;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.ni-detail-btn--ghost {
  color: var(--ni-detail-text);
  background: var(--ni-detail-surface);
  border-color: var(--ni-detail-border);
  box-shadow: var(--ni-glass-shadow, 0 10px 28px rgba(0, 0, 0, 0.18));
}

.ni-detail-btn--primary {
  color: #fff !important;
  background: linear-gradient(135deg, var(--ni-detail-accent) 0%, #0d8f63 55%, var(--ni-detail-accent-2) 100%);
  box-shadow: 0 12px 28px rgba(21, 191, 134, 0.28);
}

.ni-detail-btn:hover {
  transform: translateY(-2px);
  color: #fff;
}

.ni-detail-btn--ghost:hover {
  color: var(--ni-detail-text);
  border-color: rgba(21, 191, 134, 0.5);
}

.ni-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ni-detail-accent) !important;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none !important;
}

.ni-detail-back:hover {
  color: var(--ni-detail-accent-2) !important;
}

.ni-detail-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 22px 26px;
  margin-bottom: 28px;
  border-radius: 18px;
  background: var(--ni-detail-surface-2);
  border: 1px solid var(--ni-detail-border);
  box-shadow: var(--ni-glass-shadow, 0 14px 36px rgba(0, 0, 0, 0.2));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.ni-detail-meta__label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ni-detail-accent);
}

.ni-detail-meta__value {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ni-detail-text);
  word-break: break-word;
}

.ni-detail-media {
  margin-bottom: 28px;
}

.ni-detail-media > [class*="col-"] {
  margin-bottom: 20px;
}

.ni-detail-media__main,
.ni-detail-media__side,
.ni-detail-side-panel,
.ni-detail-side-carousel,
.ni-detail-side-carousel .item,
.ni-detail-video {
  height: 100%;
  min-height: 320px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--ni-detail-surface-2);
  border: 1px solid var(--ni-detail-border);
}

.ni-detail-media__main img,
.ni-detail-side-panel img,
.ni-detail-side-carousel img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.ni-detail-video {
  position: relative;
  padding-bottom: 56.25%;
  min-height: 0;
  height: 0;
}

.ni-detail-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ni-detail-side-panel--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px;
  background: linear-gradient(160deg, rgba(21, 191, 134, 0.35) 0%, rgba(8, 18, 14, 0.95) 60%);
}

html[data-theme="light"] .ni-detail-side-panel--empty {
  background: linear-gradient(160deg, rgba(21, 191, 134, 0.22) 0%, rgba(245, 250, 247, 0.98) 65%);
}

.ni-detail-wire {
  width: min(220px, 70%);
  display: grid;
  gap: 10px;
}

.ni-detail-wire span {
  display: block;
  height: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ni-detail-wire span:nth-child(2) { width: 78%; }
.ni-detail-wire span:nth-child(3) { width: 56%; }

.ni-detail-side-panel--empty p {
  margin: 0;
  font-weight: 700;
  color: #fff;
}

html[data-theme="light"] .ni-detail-side-panel--empty p {
  color: var(--ni-detail-text);
}

.ni-detail-side-card {
  position: relative;
  display: block;
  height: 100%;
  min-height: 320px;
  text-decoration: none !important;
  color: inherit;
}

.ni-detail-side-card__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(4, 10, 8, 0.88) 70%);
}

.ni-detail-side-card__overlay span {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ni-detail-accent-2);
}

.ni-detail-side-card__overlay h4 {
  margin: 0;
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.35;
}

.ni-detail-side-carousel .owl-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 2;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 !important;
  padding: 6px 10px;
  width: max-content;
  max-width: calc(100% - 24px);
  margin-left: auto !important;
  margin-right: auto !important;
  border-radius: 999px;
  background: rgba(6, 12, 10, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.ni-detail-side-carousel .owl-dot {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  outline: none;
}

.ni-detail-side-carousel .owl-dot span {
  width: 7px !important;
  height: 7px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.32) !important;
  box-shadow: none !important;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.3s ease,
              box-shadow 0.3s ease,
              opacity 0.3s ease !important;
}

.ni-detail-side-carousel .owl-dot:hover span {
  background: rgba(255, 255, 255, 0.55) !important;
}

.ni-detail-side-carousel .owl-dot.active span {
  width: 26px !important;
  background: var(--ni-detail-accent, var(--ni-primary, #15bf86)) !important;
  box-shadow: 0 0 12px rgba(21, 191, 134, 0.55) !important;
}

.ni-detail-body {
  padding: 28px 30px 32px;
  border-radius: 20px;
  background: var(--ni-detail-surface-2);
  border: 1px solid var(--ni-detail-border);
  box-shadow: var(--ni-glass-shadow, 0 16px 40px rgba(0, 0, 0, 0.22));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.ni-detail-body__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 800;
  color: var(--ni-detail-text);
}

.ni-detail-body__title i {
  color: var(--ni-detail-accent);
}

.ni-detail-body__block + .ni-detail-body__block {
  margin-top: 26px;
}

.ni-detail-body__label,
.ni-detail-body__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ni-detail-text);
}

.ni-detail-body__label {
  color: var(--ni-detail-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
}

.ni-detail-body__heading i {
  color: var(--ni-detail-accent);
}

.ni-detail-body__content,
.ni-detail-body__content p,
.ni-detail-body__content li,
.ni-detail-body__content span,
.ni-detail-body__content div,
.ni-detail-body__content strong,
.ni-detail-body__content em,
.ni-detail-body__content b,
.ni-detail-body__content td,
.ni-detail-body__content th,
.ni-detail-body__stack-text {
  color: var(--ni-detail-muted) !important;
  font-size: 1rem;
  line-height: 1.8;
}

.ni-detail-body__content h1,
.ni-detail-body__content h2,
.ni-detail-body__content h3,
.ni-detail-body__content h4,
.ni-detail-body__content h5,
.ni-detail-body__content h6 {
  color: var(--ni-detail-text) !important;
  line-height: 1.35;
  margin: 0 0 12px;
}

.ni-detail-body__content a {
  color: var(--ni-detail-accent) !important;
}

.ni-detail-body__content a:hover {
  color: var(--ni-detail-accent-2) !important;
}

.ni-detail-body__content p {
  margin-bottom: 14px;
}

.ni-detail-body__content ul,
.ni-detail-body__content ol {
  padding-left: 1.15rem;
  margin: 0 0 14px;
  color: var(--ni-detail-muted) !important;
}

.ni-detail-body__content li {
  margin-bottom: 8px;
}

.ni-detail-body__content li::marker {
  color: var(--ni-detail-accent);
}

html[data-theme="dark"] .ni-detail-page {
  --ni-detail-text: #f1f5f3;
  --ni-detail-muted: #c5d0c9;
}

html[data-theme="light"] .ni-detail-page {
  --ni-detail-text: #12201b;
  --ni-detail-muted: #5a675f;
}

html[data-theme="dark"] .ni-detail-service-list__item h4,
html[data-theme="dark"] .ni-detail-newsletter__text h5,
html[data-theme="dark"] .ni-detail-body__title,
html[data-theme="dark"] .ni-detail-hero__title {
  color: var(--ni-primary, #15bf86) !important;
}

html[data-theme="dark"] .ni-detail-service-list__item p,
html[data-theme="dark"] .ni-detail-newsletter__text p,
html[data-theme="dark"] .ni-detail-hero__lead,
html[data-theme="dark"] .ni-detail-meta__value {
  color: #c5d0c9 !important;
}

html[data-theme="light"] .ni-detail-service-list__item h4,
html[data-theme="light"] .ni-detail-newsletter__text h5,
html[data-theme="light"] .ni-detail-body__title,
html[data-theme="light"] .ni-detail-hero__title {
  color: var(--ni-primary, #15bf86) !important;
}

html[data-theme="light"] .ni-detail-service-list__item p,
html[data-theme="light"] .ni-detail-newsletter__text p,
html[data-theme="light"] .ni-detail-hero__lead,
html[data-theme="light"] .ni-detail-meta__value {
  color: #4b5563 !important;
}

.ni-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.ni-detail-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ni-detail-text);
  background: rgba(21, 191, 134, 0.12);
  border: 1px solid rgba(21, 191, 134, 0.28);
}

.ni-detail-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--ni-detail-border);
}

.ni-detail-share__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ni-detail-muted);
  margin-right: 4px;
}

.ni-detail-share a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--ni-detail-text) !important;
  background: rgba(21, 191, 134, 0.1);
  border: 1px solid rgba(21, 191, 134, 0.22);
  text-decoration: none !important;
  transition: background 0.25s ease, color 0.25s ease;
}

.ni-detail-share a:hover {
  background: var(--ni-detail-accent);
  color: #fff !important;
}

.ni-detail-comments {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--ni-detail-border);
}

.ni-detail-comments__title {
  margin: 0 0 18px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ni-detail-text);
}

.ni-detail-comment {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(21, 191, 134, 0.06);
  border: 1px solid rgba(21, 191, 134, 0.14);
}

.ni-detail-comment__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(21, 191, 134, 0.16);
  color: var(--ni-detail-accent);
  flex-shrink: 0;
}

.ni-detail-comment__body h6 {
  margin: 0 0 4px;
  color: var(--ni-detail-text);
  font-weight: 700;
}

.ni-detail-comment__body span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.8rem;
  color: var(--ni-detail-muted);
}

.ni-detail-comment__body p {
  margin: 0;
  color: var(--ni-detail-muted);
  line-height: 1.6;
}

.ni-detail-comment-form .comment-form-group {
  margin-bottom: 16px;
}

.ni-detail-comment-form .form-control {
  background: var(--ni-glass, rgba(7, 12, 10, 0.28)) !important;
  border: 1px solid var(--ni-detail-border) !important;
  border-radius: 14px !important;
  color: var(--ni-detail-text) !important;
  min-height: 52px;
  padding: 14px 16px;
}

.ni-detail-comment-form textarea.form-control {
  min-height: 140px;
}

.ni-detail-media__main {
  position: relative;
}

.ni-detail-service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ni-detail-service-list__item {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--ni-detail-border);
  background: rgba(255, 255, 255, 0.02);
}

.ni-detail-service-list__item h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ni-detail-text);
}

.ni-detail-service-list__item p {
  margin: 0;
  color: var(--ni-detail-muted);
  line-height: 1.55;
  font-size: 0.92rem;
}

.ni-detail-newsletter {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid var(--ni-detail-border);
  background: linear-gradient(135deg, rgba(21, 191, 134, 0.12), rgba(255, 255, 255, 0.02));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.ni-detail-newsletter__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(21, 191, 134, 0.16);
  color: var(--ni-primary, #15bf86);
  font-size: 1.15rem;
}

.ni-detail-newsletter__text {
  flex: 1 1 180px;
}

.ni-detail-newsletter__text h5 {
  margin: 0 0 4px;
  color: var(--ni-detail-text);
  font-weight: 700;
}

.ni-detail-newsletter__text p {
  margin: 0;
  color: var(--ni-detail-muted);
  font-size: 0.9rem;
}

.ni-detail-newsletter__form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 240px;
  max-width: 360px;
}

.ni-detail-newsletter__form input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--ni-detail-border);
  background: var(--ni-glass, rgba(7, 12, 10, 0.28));
  color: var(--ni-detail-text);
  padding: 0 14px;
}

.ni-detail-newsletter__form button {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: var(--ni-primary, #15bf86);
  color: #04140e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767.98px) {
  .ni-detail-service-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .ni-detail-hero {
    flex-direction: column;
  }

  .ni-detail-hero__actions {
    justify-content: flex-start;
  }

  .ni-detail-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .ni-detail-meta {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .ni-detail-body {
    padding: 22px 18px 24px;
  }

  .ni-detail-media__main,
  .ni-detail-media__side,
  .ni-detail-side-panel,
  .ni-detail-side-carousel,
  .ni-detail-side-carousel .item,
  .ni-detail-side-card {
    min-height: 240px;
  }

  .ni-detail-media__main img,
  .ni-detail-side-panel img,
  .ni-detail-side-carousel img {
    min-height: 240px;
  }
}

/* ===== Videos gallery page ===== */
#videos.page-content-offset,
.page-content-offset#videos {
  padding-top: 120px !important;
  padding-bottom: 72px !important;
}

.ni-videos-header {
  margin-bottom: 1.35rem;
}

.ni-videos-title {
  position: relative;
  display: inline-block;
  font-size: clamp(1.85rem, 2.6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
  padding-bottom: 18px;
  border: 0;
  text-decoration: none;
  background: none;
}

.ni-videos-title::before,
.ni-videos-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--ni-primary, #15bf86);
  box-shadow: 0 0 12px rgba(21, 191, 134, 0.45);
}

.ni-videos-title::before {
  left: 50%;
  width: 18px;
  transform: translateX(-28px);
}

.ni-videos-title::after {
  left: 50%;
  width: 42px;
  transform: translateX(-6px);
  background: linear-gradient(90deg, var(--ni-primary, #15bf86) 0%, rgba(21, 191, 134, 0.35) 100%);
}

.ni-videos-subtitle {
  opacity: 0.72;
  margin: 0;
  font-size: 1rem;
}

.ni-videos-filter.portfolio-filter,
.ni-videos-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.55rem 0.75rem;
  text-align: center !important;
  margin: 0 0 2rem !important;
}

.ni-videos-filter a {
  text-decoration: none;
  margin: 0 !important;
}

.ni-videos-filter a:last-child {
  margin-top: 0 !important;
}

.ni-videos-group {
  margin-bottom: 2.25rem;
}

.ni-videos-group:last-child {
  margin-bottom: 0;
}

.ni-videos-group__title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(128, 128, 128, 0.22);
}

.ni-videos-grid > [class*="col-"] {
  display: flex;
  margin-bottom: 1.35rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ni-videos-grid .ni-video-item.is-hidden {
  display: none !important;
}

.ni-video-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(128, 128, 128, 0.08);
  border: 1px solid rgba(128, 128, 128, 0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ni-video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
  border-color: rgba(21, 191, 134, 0.35);
}

html[data-theme="dark"] .ni-video-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, rgba(21, 191, 134, 0.08) 48%, rgba(7, 12, 10, 0.22) 100%);
  border-color: rgba(255, 255, 255, 0.1);
}

.ni-video-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0d1210;
  overflow: hidden;
}

.ni-video-card__media iframe,
.ni-video-card__media img,
.ni-video-card__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.ni-video-card__play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: block;
}

.ni-video-card__play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(21, 191, 134, 0.92);
  box-shadow: 0 10px 28px rgba(21, 191, 134, 0.35);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ni-video-card__play-icon i {
  margin-left: 3px;
  font-size: 1.05rem;
}

.ni-video-card__play:hover .ni-video-card__play-icon,
.ni-video-card__play:focus-visible .ni-video-card__play-icon {
  transform: translate(-50%, -50%) scale(1.06);
  background: #15bf86;
  box-shadow: 0 12px 32px rgba(21, 191, 134, 0.45);
}

.ni-video-card__media.is-playing .ni-video-card__play {
  display: none;
}

.ni-video-card__body {
  padding: 0.95rem 1.05rem 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ni-video-card__title {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}

.ni-video-card__desc {
  font-size: 0.88rem;
  opacity: 0.78;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ni-video-card__provider {
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.6;
}

.ni-videos-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 180px;
  padding: 2rem 1.25rem;
  margin: 0 auto;
  max-width: 520px;
  border-radius: 16px;
  border: 1px dashed rgba(128, 128, 128, 0.28);
  background: rgba(128, 128, 128, 0.05);
}

html[data-theme="dark"] .ni-videos-empty {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.ni-videos-empty__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  opacity: 0.78;
}

@media (max-width: 991.98px) {
  #videos.page-content-offset,
  .page-content-offset#videos {
    padding-top: 100px !important;
    padding-bottom: 56px !important;
  }

  .ni-videos-header {
    margin-bottom: 1rem;
  }

  .ni-videos-filter.portfolio-filter,
  .ni-videos-filter {
    margin-bottom: 1.5rem !important;
  }

  .ni-videos-empty {
    min-height: 140px;
    padding: 1.5rem 1rem;
  }
}

/* ===== CMS custom pages ===== */
#page-content.ni-page-section.page-content-offset,
.ni-page-section.page-content-offset {
  padding-top: 120px !important;
  padding-bottom: 72px !important;
}

.ni-page-header {
  margin-bottom: 1.75rem;
}

.ni-page-hero__title {
  margin: 0.35rem 0 0.45rem;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-align: left;
}

.ni-page-hero__niche {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.45;
  opacity: 0.78;
  text-align: left;
}

.ni-page-hero__breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  opacity: 0.72;
}

.ni-page-hero__breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.ni-page-hero__breadcrumb a:hover {
  color: var(--ni-primary, #15bf86);
  opacity: 1;
}

.ni-page-section {
  padding-top: 12px !important;
}

.ni-page-content.services-detail-inner {
  margin-top: 0 !important;
}

.ni-page-layout {
  align-items: flex-start;
}

.ni-page-content {
  max-width: 100%;
  color: var(--ni-text, #171718);
}

html[data-theme="dark"] .ni-page-content {
  color: rgba(241, 245, 243, 0.9);
}

.ni-page-content > *:first-child {
  margin-top: 0;
}

.ni-page-content h2,
.ni-page-content h3,
.ni-page-content h4 {
  margin: 1.75rem 0 0.75rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ni-text, #171718);
}

html[data-theme="dark"] .ni-page-content h2,
html[data-theme="dark"] .ni-page-content h3,
html[data-theme="dark"] .ni-page-content h4 {
  color: #f1f5f3;
}

.ni-page-content h2 {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
}

.ni-page-content h3 {
  font-size: 1.15rem;
}

.ni-page-content p,
.ni-page-content li,
.ni-page-content ul,
.ni-page-content ol,
.ni-page-content strong {
  color: inherit;
}

.ni-page-content p,
.ni-page-content li {
  line-height: 1.75;
  opacity: 1;
}

html[data-theme="dark"] .ni-page-content p,
html[data-theme="dark"] .ni-page-content li {
  color: rgba(232, 240, 236, 0.88);
}

html[data-theme="light"] .ni-page-content p,
html[data-theme="light"] .ni-page-content li {
  color: #3d4742;
}

.ni-page-content p {
  margin: 0 0 1rem;
}

.ni-page-content ul,
.ni-page-content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
}

.ni-page-content li + li {
  margin-top: 0.4rem;
}

.ni-page-content .ni-page-lead {
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

html[data-theme="dark"] .ni-page-content .ni-page-lead {
  color: rgba(241, 245, 243, 0.92);
}

html[data-theme="light"] .ni-page-content .ni-page-lead {
  color: #2f3834;
}

.ni-page-content .ni-page-card p {
  color: inherit;
}

html[data-theme="dark"] .ni-page-content .ni-page-card p {
  color: rgba(232, 240, 236, 0.86);
}

.ni-page-content .ni-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.ni-page-content .ni-page-card {
  padding: 1.15rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(128, 128, 128, 0.18);
  background: rgba(128, 128, 128, 0.06);
}

html[data-theme="dark"] .ni-page-content .ni-page-card {
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, rgba(21, 191, 134, 0.07) 100%);
}

.ni-page-content .ni-page-card h3 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  color: var(--ni-primary, #15bf86);
  font-size: 1.02rem;
}

.ni-page-content .ni-page-card p:last-child {
  margin-bottom: 0;
}

.ni-page-content .ni-page-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.5rem 0 1.75rem;
}

.ni-page-content .ni-page-stat {
  text-align: center;
  padding: 1rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(21, 191, 134, 0.22);
  background: rgba(21, 191, 134, 0.08);
}

.ni-page-content .ni-page-stat strong {
  display: block;
  font-size: 1.45rem;
  color: var(--ni-primary, #15bf86);
  margin-bottom: 0.2rem;
}

.ni-page-content .ni-page-stat span {
  font-size: 0.82rem;
  color: var(--ni-muted, #a7b5ad);
  opacity: 1;
}

html[data-theme="dark"] .ni-page-content .ni-page-stat span {
  color: rgba(232, 240, 236, 0.82);
}

html[data-theme="light"] .ni-page-content .ni-page-stat span {
  color: #5a675f;
}

.ni-page-content .ni-faq-item {
  margin: 0 0 0.85rem;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  border: 1px solid rgba(128, 128, 128, 0.16);
  background: rgba(128, 128, 128, 0.05);
}

html[data-theme="dark"] .ni-page-content .ni-faq-item {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.ni-page-content .ni-faq-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.ni-page-content .ni-faq-item p:last-child {
  margin-bottom: 0;
}

.ni-page-aside {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 110px;
}

.ni-page-aside__card,
.ni-page-aside__cta {
  padding: 1.15rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(128, 128, 128, 0.16);
  background: rgba(128, 128, 128, 0.06);
}

html[data-theme="dark"] .ni-page-aside__card,
html[data-theme="dark"] .ni-page-aside__cta {
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, rgba(21, 191, 134, 0.06) 100%);
}

.ni-page-aside__title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 700;
}

.ni-page-aside__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ni-page-aside__links li + li {
  margin-top: 0.55rem;
}

.ni-page-aside__links a {
  color: inherit;
  text-decoration: none;
  opacity: 0.82;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.ni-page-aside__links a:hover {
  color: var(--ni-primary, #15bf86);
  opacity: 1;
}

.ni-page-aside__share {
  list-style: none;
  display: flex;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
}

.ni-page-aside__share a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--ni-primary, #15bf86);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ni-page-aside__share a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(21, 191, 134, 0.28);
}

.ni-page-aside__cta p {
  margin: 0 0 0.85rem;
  line-height: 1.5;
  opacity: 0.85;
}

.ni-page-aside__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: var(--ni-primary, #15bf86);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.ni-page-aside__cta-btn:hover {
  filter: brightness(1.05);
}

@media (max-width: 991.98px) {
  #page-content.ni-page-section.page-content-offset,
  .ni-page-section.page-content-offset {
    padding-top: 100px !important;
    padding-bottom: 56px !important;
  }

  .ni-page-content .ni-page-grid,
  .ni-page-content .ni-page-stat-row {
    grid-template-columns: 1fr;
  }
}

