/* ============================================================
   DGSoft Labs - visual refresh
   Layered on top of styles.css. Keeps the brand blue and adds a
   calmer rhythm, softer surfaces and consistent micro-interactions.
   ============================================================ */

:root {
  --ds-primary: #025add;
  --ds-primary-2: #2f7bff;
  --ds-primary-dark: #0146b4;
  --ds-primary-soft: #eef4ff;
  --ds-ink: #0f172a;
  --ds-body: #475569;
  --ds-muted: #6b7a90;
  --ds-line: #e4eaf4;
  --ds-line-strong: #d5dfee;
  --ds-surface: #ffffff;
  --ds-surface-alt: #f6f8fc;
  --ds-page-bg: #ffffff;
  --ds-radius-sm: 12px;
  --ds-radius: 18px;
  --ds-radius-lg: 24px;
  --ds-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 28px rgba(15, 23, 42, 0.05);
  --ds-shadow: 0 16px 40px rgba(15, 23, 42, 0.09);
  --ds-shadow-hover: 0 24px 54px rgba(2, 90, 221, 0.14);
  --ds-gradient: linear-gradient(135deg, #2f7bff 0%, #025add 58%, #0146b4 100%);
  --ds-gradient-soft: linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);
  --ds-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

body.dark,
:root.dark {
  --ds-ink: #f8fafc;
  --ds-body: #cbd5e1;
  --ds-muted: #94a3b8;
  --ds-line: rgba(148, 163, 184, 0.18);
  --ds-line-strong: rgba(148, 163, 184, 0.28);
  --ds-surface: #0b1220;
  --ds-surface-alt: #0e1728;
  --ds-page-bg: #050b18;
  --ds-primary-soft: rgba(47, 123, 255, 0.14);
  --ds-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 28px rgba(0, 0, 0, 0.35);
  --ds-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  --ds-shadow-hover: 0 24px 54px rgba(2, 90, 221, 0.3);
  --ds-gradient-soft: linear-gradient(180deg, #071022 0%, #050b18 100%);

  --light-color: #050b18;
  --theme-color: #050b18;
  --theme-color-dark: #0b1220;
  --text-color: #e2e8f0;
  --text-grey-color: rgba(226, 232, 240, 0.72);
  --border-color: rgba(148, 163, 184, 0.18);
}

/* ------------------------------------------------------------
   Base typography & rhythm
   ------------------------------------------------------------ */
body {
  color: var(--ds-body);
  background: var(--ds-page-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ds-ink);
  letter-spacing: -0.015em;
}

.text-muted {
  color: var(--ds-muted) !important;
}

#shop.portfolio,
#services.section,
#about.section,
section.contact-section {
  padding-top: 84px;
  padding-bottom: 84px;
}

#shop.portfolio {
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

#services.section {
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
}

body.dark #shop.portfolio {
  background: linear-gradient(180deg, #050b18 0%, #071022 100%);
}

body.dark #services.section {
  background: linear-gradient(180deg, #071022 0%, #050b18 100%);
}

#contact.contact-section {
  padding-top: 84px !important;
  padding-bottom: 84px !important;
  background: var(--ds-gradient-soft);
}

@media (max-width: 767.98px) {
  #shop.portfolio,
  #services.section,
  #about.section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  #contact.contact-section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
}

/* ------------------------------------------------------------
   Section headers
   ------------------------------------------------------------ */
.section-header {
  padding-bottom: 46px;
}

.section-header h2 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.9rem, 1.2rem + 1.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ds-ink);
}

.section-header h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: var(--ds-gradient);
}

.section-header p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ds-muted);
}

.section-header .mb-5 {
  margin-bottom: 0 !important;
}

/* ------------------------------------------------------------
   Header, navigation & language controls
   ------------------------------------------------------------ */
.header,
.header.sticked {
  height: 80px;
}

.header.stikcy-menu {
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

body.dark .header.stikcy-menu,
:root.dark .header.stikcy-menu {
  background: rgba(5, 11, 24, 0.86);
  border-bottom-color: rgba(148, 163, 184, 0.14);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.header .logo img {
  height: 62px !important;
  max-height: 62px;
  transition: transform 0.3s var(--ds-ease);
}

.header .logo:hover img {
  transform: translateY(-1px) scale(1.02);
}

@media (max-width: 768px) {
  .header,
  .header.sticked {
    height: 72px;
  }

  .header .logo img {
    height: 52px !important;
    max-height: 52px;
  }
}

#darkmode-button {
  width: 42px;
  height: 42px;
  color: var(--ds-body);
  background: var(--ds-surface-alt);
  border: 1px solid var(--ds-line);
  transition: color 0.25s, background-color 0.25s, border-color 0.25s, transform 0.25s;
}

#darkmode-button:hover {
  color: var(--ds-primary);
  background: var(--ds-primary-soft);
  border-color: rgba(2, 90, 221, 0.25);
  transform: translateY(-1px);
}

@media (min-width: 1280px) {
  .navbar > ul {
    gap: 2px;
  }

  .navbar > ul > li {
    padding: 10px 2px;
  }

  .navbar a,
  .navbar a:focus {
    padding: 9px 14px !important;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    color: #334155;
    transition: color 0.25s, background-color 0.25s;
  }

  .navbar a:hover,
  .navbar a.active,
  .navbar a:focus-visible {
    color: var(--ds-primary);
    background: var(--ds-primary-soft);
  }

  body.dark .navbar a,
  body.dark .navbar a:focus,
  :root.dark .navbar a,
  :root.dark .navbar a:focus {
    color: #cbd5e1;
  }

  body.dark .navbar a:hover,
  body.dark .navbar a.active,
  :root.dark .navbar a:hover,
  :root.dark .navbar a.active {
    color: #ffffff;
    background: rgba(47, 123, 255, 0.16);
  }
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: transform 0.25s var(--ds-ease), box-shadow 0.25s var(--ds-ease),
    background-color 0.25s, border-color 0.25s, color 0.25s;
}

.btn:focus-visible,
.btn-get-started:focus-visible,
.cta-btn:focus-visible,
.contact-cta-btn:focus-visible {
  outline: 3px solid rgba(47, 123, 255, 0.35);
  outline-offset: 3px;
}

.btn-primary,
.btn-get-started,
.fill-btn,
.call-to-action .cta-btn,
.contact-cta-btn {
  color: #ffffff;
  border-color: transparent;
  background: var(--ds-gradient);
  box-shadow: 0 10px 24px rgba(2, 90, 221, 0.22);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-get-started:hover,
.fill-btn:hover,
.call-to-action .cta-btn:hover,
.contact-cta-btn:hover {
  color: #ffffff;
  background: var(--ds-gradient);
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(2, 90, 221, 0.3);
}

.btn-outline-primary {
  color: var(--ds-primary);
  border-color: rgba(2, 90, 221, 0.35);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  color: #ffffff;
  background: var(--ds-primary);
  border-color: var(--ds-primary);
  transform: translateY(-1px);
}

.btn-outline-secondary,
.btn-outline-dark {
  border-color: var(--ds-line-strong);
}

.btn-outline-secondary:hover,
.btn-outline-dark:hover {
  transform: translateY(-1px);
}

body.dark .btn-outline-secondary,
body.dark .btn-outline-dark {
  color: rgba(255, 255, 255, 0.85);
  border-color: var(--ds-line-strong);
}

.btn-sm {
  padding: 0.5rem 0.95rem;
  font-size: 0.82rem;
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero::before {
  background: linear-gradient(90deg, rgba(3, 20, 48, 0.24) 0%, rgba(3, 20, 48, 0.05) 48%, rgba(3, 20, 48, 0.14) 100%);
  opacity: 1;
}

.hero .dark-bg {
  padding: 44px 40px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.16);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hero h2 {
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #0b1f3a;
}

.hero h2 span:not(.circle) {
  color: transparent;
  background: var(--ds-gradient);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero p {
  max-width: 640px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #334155;
}

.hero .social a {
  color: var(--ds-primary);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: transform 0.25s, background-color 0.25s, border-color 0.25s;
}

.hero .social a:hover {
  color: var(--ds-primary);
  background: #ffffff;
  border-color: rgba(2, 90, 221, 0.25);
  transform: translateY(-2px);
}

body.dark .hero::before,
:root.dark .hero::before {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.7) 100%);
}

body.dark .hero .dark-bg,
:root.dark .hero .dark-bg {
  background: rgba(5, 11, 24, 0.62);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

body.dark .hero h2,
:root.dark .hero h2 {
  color: #ffffff;
}

body.dark .hero p,
:root.dark .hero p {
  color: rgba(255, 255, 255, 0.82);
}

body.dark .hero .social a,
:root.dark .hero .social a {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

@media (max-width: 991.98px) {
  .hero .dark-bg {
    padding: 30px 24px;
    border-radius: 22px;
  }
}

/* ------------------------------------------------------------
   Breadcrumbs (subpages)
   ------------------------------------------------------------ */
.breadcrumbs .page-header {
  padding: 140px 0 64px;
  background-image: linear-gradient(180deg, rgba(244, 248, 255, 0.92) 0%, rgba(255, 255, 255, 0.97) 100%),
    url(../images/page-header-bg.webp);
  background-position: center, center bottom;
  background-size: cover, cover;
}

.breadcrumbs .page-header:before {
  background: radial-gradient(60% 120% at 80% 10%, rgba(47, 123, 255, 0.12) 0%, rgba(47, 123, 255, 0) 70%);
  opacity: 1;
}

.breadcrumbs .page-header h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ds-ink);
}

.breadcrumbs .page-header p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--ds-muted);
  line-height: 1.7;
}

.breadcrumbs nav {
  padding: 15px 0;
  background: var(--ds-gradient);
  box-shadow: 0 10px 26px rgba(2, 90, 221, 0.18);
}

.breadcrumbs nav ol {
  gap: 2px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

body.dark .breadcrumbs .page-header,
:root.dark .breadcrumbs .page-header {
  background-image: linear-gradient(180deg, rgba(5, 11, 24, 0.9) 0%, rgba(5, 11, 24, 0.97) 100%),
    url(../images/page-header-bg.webp);
}

body.dark .breadcrumbs nav,
:root.dark .breadcrumbs nav {
  background: linear-gradient(135deg, #1d4ed8 0%, #025add 100%);
}

/* ------------------------------------------------------------
   Cards: tools, services, contact
   ------------------------------------------------------------ */
#shop .card,
.portfolio-card,
.modern-service-card,
.contact-tile {
  border-radius: var(--ds-radius-lg) !important;
}

#shop .card,
.portfolio-card,
.modern-service-card {
  background: var(--ds-surface);
  border: 1px solid var(--ds-line) !important;
  box-shadow: var(--ds-shadow-sm) !important;
}

#shop .tool-showcase-card {
  transition: transform 0.3s var(--ds-ease), box-shadow 0.3s var(--ds-ease),
    border-color 0.3s var(--ds-ease);
}

#shop .tool-showcase-card:hover {
  transform: translateY(-6px);
  border-color: rgba(2, 90, 221, 0.24) !important;
  box-shadow: var(--ds-shadow-hover) !important;
}

#shop .tool-showcase-card .col-md-5 > div {
  background: var(--ds-surface-alt) !important;
  border-radius: 23px 0 0 23px;
}

#shop .tool-showcase-card .card-text {
  line-height: 1.7;
}

@media (max-width: 767.98px) {
  #shop .tool-showcase-card .col-md-5 > div {
    border-radius: 23px 23px 0 0;
  }
}

.portfolio-card .position-relative,
#shop .portfolio-list .position-relative {
  border-radius: 14px;
  overflow: hidden;
}

#shop .portfolio-list .position-relative {
  background-color: var(--ds-surface-alt) !important;
}

.portfolio-item[id^="project-"] {
  scroll-margin-top: 100px;
}

.portfolio .list-group-item {
  border-radius: 12px !important;
  font-weight: 500;
  transition: background-color 0.25s, color 0.25s, transform 0.25s;
}

.portfolio .list-group-item:hover {
  transform: translateX(2px);
}

.portfolio .list-group-item.active {
  color: var(--ds-primary) !important;
  background: var(--ds-primary-soft) !important;
}

a.glightbox img {
  border-color: var(--ds-line) !important;
  border-radius: 14px !important;
}

/* Compact services (home) */
#services .row.justify-content-center.g-4 > .col-6.col-md-3.text-center {
  padding: 30px 18px 26px;
  background: var(--ds-surface);
  border: 1px solid var(--ds-line);
  border-radius: 22px;
  box-shadow: var(--ds-shadow-sm);
  transition: transform 0.3s var(--ds-ease), box-shadow 0.3s var(--ds-ease),
    border-color 0.3s var(--ds-ease);
}

#services .row.justify-content-center.g-4 > .col-6.col-md-3.text-center:hover {
  transform: translateY(-5px);
  border-color: rgba(2, 90, 221, 0.22);
  box-shadow: var(--ds-shadow-hover);
}

.service-icon-large {
  border-radius: 24px !important;
  box-shadow: 0 14px 30px rgba(2, 90, 221, 0.18) !important;
  transition: transform 0.35s var(--ds-ease);
}

#services .col-6.col-md-3.text-center:hover .service-icon-large {
  transform: translateY(-3px) scale(1.03);
}

#services .col-6.col-md-3.text-center h6 {
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  color: var(--ds-ink);
}

body.dark #services .col-6.col-md-3.text-center h6,
:root.dark #services .col-6.col-md-3.text-center h6 {
  color: var(--ds-ink) !important;
}

#services .col-6.col-md-3.text-center p {
  color: var(--ds-muted);
  line-height: 1.6;
}

/* Full services page */
.modern-service-card .card-body {
  padding: 2.25rem !important;
}

.modern-service-card h4 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.modern-service-card .service-icon {
  border-radius: 22px !important;
}

.modern-service-card .feature-tag {
  padding: 0.3rem 0.15rem;
  border-radius: 10px;
  transition: background-color 0.25s;
}

.modern-service-card .feature-tag:hover {
  background: var(--ds-primary-soft);
}

/* About */
#about .center-image-wrapper img {
  border: 1px solid var(--ds-line);
  border-radius: 24px !important;
  box-shadow: var(--ds-shadow) !important;
}

.modern-feature-card .feature-icon {
  border-radius: 20px !important;
  box-shadow: 0 12px 26px rgba(2, 36, 92, 0.16) !important;
}

.modern-feature-card h5 {
  letter-spacing: -0.015em;
}

@media (max-width: 991.98px) {
  .modern-feature-card,
  .modern-feature-card.text-end {
    text-align: center !important;
  }

  .modern-feature-card .feature-content {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .modern-feature-card .feature-content > .feature-icon {
    order: 1;
    margin: 0 !important;
  }

  .modern-feature-card .feature-content > .feature-text {
    order: 2;
    margin: 16px 0 0 !important;
    text-align: center !important;
  }
}

/* Contact */
.modern-contact-section .contact-hero-badge {
  color: var(--ds-primary);
  background: var(--ds-primary-soft);
  border-color: rgba(2, 90, 221, 0.18);
}

.modern-contact-section .contact-hero-title {
  color: var(--ds-ink);
  font-size: clamp(2rem, 3vw, 2.75rem);
  letter-spacing: -0.025em;
}

.modern-contact-section .contact-hero-text {
  color: var(--ds-muted);
  opacity: 1;
}

.contact-tile {
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--ds-shadow-sm);
}

.contact-tile:hover {
  box-shadow: var(--ds-shadow-hover);
}

.contact-tile-address {
  background: var(--ds-gradient);
}

/* ------------------------------------------------------------
   Stats + call to action band
   ------------------------------------------------------------ */
#stats-counter.call-to-action {
  padding: 84px 0 48px;
}

#call-to-action.call-to-action {
  padding: 56px 0 96px;
}

#stats-counter .stats-item {
  height: 100%;
  padding: 30px 22px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ds-ease), background-color 0.3s, border-color 0.3s;
}

#stats-counter .stats-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
}

#stats-counter .stats-item .icon.circle {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

#stats-counter .stats-item .icon.circle img {
  width: 32px;
  height: 32px;
  margin: 0;
}

#stats-counter .purecounter {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
}

#stats-counter .stats-item p {
  margin: 8px 0 0;
  font-size: 0.92rem;
  line-height: 1.55;
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
}

#call-to-action .cta-title {
  max-width: 820px;
  margin: 0 auto 16px;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #ffffff;
}

#call-to-action .cta-description {
  max-width: 720px;
  margin: 0 auto 30px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.footer-section {
  padding: 72px 0 28px;
}

.footer-section:before {
  background: linear-gradient(180deg, rgba(4, 15, 33, 0.94) 0%, rgba(2, 8, 20, 0.98) 100%);
  opacity: 1;
}

.footer-logo img {
  max-width: 190px;
}

.footer-widget-heading h3 {
  margin-bottom: 18px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.footer-text p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
}

.footer-widget ul li a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.25s, padding-left 0.25s;
}

.footer-widget ul li a:hover {
  padding-left: 4px;
  color: #ffffff;
}

.footer-social-icon span {
  margin-bottom: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.footer-social-icon a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transition: color 0.25s, background-color 0.25s, border-color 0.25s, transform 0.25s;
}

.footer-social-icon a:hover {
  color: #ffffff;
  background: rgba(47, 123, 255, 0.35);
  border-color: rgba(47, 123, 255, 0.55);
  transform: translateY(-2px);
}

.footer-social-icon i {
  width: auto;
  height: auto;
  line-height: 1;
  border-radius: 0;
}

.copyright-text {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-text p {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ------------------------------------------------------------
   Scroll reveal (React replacement for AOS)
   ------------------------------------------------------------ */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ds-ease),
    transform 0.7s var(--ds-ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

[data-reveal="fade-right"] {
  transform: translateX(-24px);
}

[data-reveal="fade-left"] {
  transform: translateX(24px);
}

[data-reveal="zoom-in"] {
  transform: scale(0.96);
}

[data-reveal="zoom-out"] {
  transform: scale(1.02);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  will-change: auto;
}

@media (max-width: 767.98px) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ------------------------------------------------------------
   Hero particles (React canvas)
   ------------------------------------------------------------ */
#particles-js {
  pointer-events: none;
}

.hero-particles {
  display: block;
  width: 100%;
  height: 100%;
}

/* ------------------------------------------------------------
   Image lightbox
   ------------------------------------------------------------ */
.image-lightbox-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.image-lightbox-trigger img {
  transition: transform 0.35s var(--ds-ease), filter 0.35s var(--ds-ease);
}

.image-lightbox-trigger:hover img {
  transform: scale(1.015);
  filter: brightness(1.03);
}

.ds-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(2, 6, 23, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: ds-lightbox-in 0.25s var(--ds-ease);
}

.ds-lightbox-figure {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  margin: 0;
  padding: 14px;
  background: var(--ds-surface);
  border: 1px solid var(--ds-line);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  cursor: default;
}

.ds-lightbox-figure img {
  display: block;
  max-width: 100%;
  max-height: calc(86vh - 80px);
  margin: 0 auto;
  object-fit: contain;
  border-radius: 12px;
}

.ds-lightbox-figure figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 8px 2px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ds-body);
}

.ds-lightbox-count {
  color: var(--ds-muted);
  white-space: nowrap;
}

.ds-lightbox-close,
.ds-lightbox-nav {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.25s, transform 0.25s;
}

.ds-lightbox-close:hover,
.ds-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.05);
}

.ds-lightbox-close {
  top: 22px;
  right: 22px;
}

.ds-lightbox-prev {
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.ds-lightbox-next {
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.ds-lightbox-prev:hover,
.ds-lightbox-next:hover {
  transform: translateY(-50%) scale(1.05);
}

@keyframes ds-lightbox-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ------------------------------------------------------------
   Scroll-top button
   ------------------------------------------------------------ */
button.scroll-top {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  cursor: pointer;
}

button.scroll-top i {
  line-height: 0;
}

@media (max-width: 767.98px) {
  .ds-lightbox {
    padding: 16px;
  }

  .ds-lightbox-close {
    top: 14px;
    right: 14px;
  }

  .ds-lightbox-prev {
    left: 10px;
  }

  .ds-lightbox-next {
    right: 10px;
  }
}

/* ------------------------------------------------------------
   Motion preferences
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
