/* ==========================================================================
   InTrust Consultancy — Systemwide Dark / Light Mode Stylesheet
   ========================================================================== */

:root {
  --theme-transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  
  /* Brand Tokens */
  --brand-primary: #2563eb;
  --brand-primary-hover: #1d4ed8;
  --brand-primary-active: #1e40af;
  --brand-accent: #c8f027;
  --brand-accent-hover: #bae413;
  --brand-accent-dark: #0f172a;

  /* Surfaces & Text */
  --bg-primary-light: #ffffff;
  --bg-secondary-light: #f8fafc;
  --text-primary-light: #0f172a;
  --text-secondary-light: #475569;
  --border-light: #e2e8f0;
  
  --bg-primary-dark: #090d16;
  --bg-secondary-dark: #0f172a;
  --bg-card-dark: #131c2e;
  --bg-elevated-dark: #1e293b;
  --text-primary-dark: #f8fafc;
  --text-secondary-dark: #cbd5e1;
  --text-muted-dark: #94a3b8;
  --border-dark: rgba(255, 255, 255, 0.08);
  --accent-blue: #3b82f6;
  --accent-blue-hover: #60a5fa;
}

/* Base transitions */
body,
.elementor-section,
.elementor-column,
.elementor-widget-wrap,
.wpr-nav-menu-container,
.wpr-flip-box-front,
.wpr-flip-box-back,
h1, h2, h3, h4, h5, h6, p, a, span {
  transition: var(--theme-transition);
}

/* ==========================================================================
   Theme Toggle Button Styles
   ========================================================================== */
.theme-toggle-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  z-index: 999;
}

.theme-toggle-desktop {
  display: inline-flex;
  margin-right: 14px;
}

.theme-toggle-btn {
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 9999px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  color: #1e293b !important;
}

.theme-toggle-btn:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.theme-toggle-btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

/* Light mode icons */
.theme-toggle-btn .icon-moon {
  display: block;
  fill: none;
  stroke: #1e293b;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-toggle-btn .icon-sun {
  display: none;
  fill: none;
  stroke: #fbbf24;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Dark mode toggle active states */
html.dark-mode .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  color: #f8fafc !important;
}

html.dark-mode .theme-toggle-btn:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: #3b82f6;
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.35);
}

html.dark-mode .theme-toggle-btn .icon-moon {
  display: none;
}

html.dark-mode .theme-toggle-btn .icon-sun {
  display: block;
  transform: rotate(45deg);
}

@media (max-width: 768px) {
  .theme-toggle-desktop {
    display: none !important;
  }
  .wpr-mobile-toggle-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
  }
  .wpr-mobile-toggle-wrap .theme-toggle-wrapper {
    display: inline-flex !important;
  }
}

@media (min-width: 769px) {
  .elementor-element-ca93439 .elementor-widget-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }
  .wpr-mobile-toggle-wrap .theme-toggle-wrapper {
    display: none !important;
  }
}

/* ==========================================================================
   Global Design System — Typography Standards
   ========================================================================== */
h1, h2, h3, h4, h5, h6,
.elementor-heading-title,
.wpr-advanced-text,
.wpr-advanced-text-preffix,
.wpr-anim-text,
.wpr-flip-box-title,
.wpr-feature-list-title,
.elementor-element-869d4b2 .elementor-heading-title {
  font-family: 'Kanit', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

body, p, a, span, button, input, textarea, select,
.elementor-text-editor,
.wpr-flip-box-description,
.wpr-feature-list-description,
.wpr-icon-box-description,
.elementor-icon-box-description,
.wpr-promo-box-description,
.wpr-button,
.wpr-button-text,
.wpr-offcanvas-trigger,
.wpr-menu-item,
.wpr-mobile-menu-item {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* Fix descender clipping on feature titles */
.wpr-feature-list-title {
  line-height: 1.3 !important;
}

/* Purge royal-elementor-kit purple leak (#605be5) */
a:not(.theme-toggle-btn),
.wpr-button-text,
.wpr-button::after,
.wpr-button::before {
  color: inherit;
}

/* ==========================================================================
   Global Design System — Unified Button Archetypes (44px min-height)
   ========================================================================== */

/* Universal Button Reset & Box Model */
.wpr-button,
.wpr-offcanvas-trigger,
.btn-primary,
.btn-secondary,
.form-submit-btn,
button[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 10px 24px !important;
  border-radius: 8px !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: 1px solid transparent !important;
  text-align: center !important;
}

/* Primary Action CTA (High-Impact Lime Accent) */
.wpr-offcanvas-trigger,
.wpr-button-primary,
.wpr-button[data-text="Go"]:not(.wpr-button-secondary) {
  background-color: var(--brand-accent) !important;
  color: #0f172a !important;
  border-color: #b3db12 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.wpr-offcanvas-trigger .wpr-button-text,
.wpr-button-primary .wpr-button-text,
.wpr-button[data-text="Go"]:not(.wpr-button-secondary) .wpr-button-text {
  color: #0f172a !important;
}

.wpr-offcanvas-trigger:hover,
.wpr-button-primary:hover,
.wpr-button[data-text="Go"]:not(.wpr-button-secondary):hover {
  background-color: var(--brand-accent-hover) !important;
  color: #0f172a !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(200, 240, 39, 0.35) !important;
}

/* Secondary Action CTA (High-Trust Royal Blue) */
.wpr-button-secondary,
.form-submit-btn,
button[type="submit"] {
  background-color: var(--brand-primary) !important;
  color: #ffffff !important;
  border-color: var(--brand-primary) !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2) !important;
}

.wpr-button-secondary .wpr-button-text,
.form-submit-btn,
button[type="submit"] {
  color: #ffffff !important;
}

.wpr-button-secondary:hover,
.form-submit-btn:hover,
button[type="submit"]:hover {
  background-color: var(--brand-primary-hover) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35) !important;
}

/* Service Card Ghost Promo Button (Upgraded from 23px plain link) */
.wpr-promo-box-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 8px 22px !important;
  border: 1px solid var(--brand-primary) !important;
  border-radius: 6px !important;
  background-color: transparent !important;
  color: var(--brand-primary) !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
}

.wpr-promo-box-btn:hover {
  background-color: var(--brand-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
  transform: translateY(-1px) !important;
}

html.dark-mode .wpr-promo-box-btn {
  border-color: var(--accent-blue) !important;
  color: #ffffff !important;
  background-color: rgba(59, 130, 246, 0.12) !important;
}

html.dark-mode .wpr-promo-box-btn:hover {
  background-color: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.4) !important;
}

/* Touch Target Envelopes (WCAG 2.5.5 / 2.5.8) */
.wpr-mobile-nav-menu a.wpr-mobile-menu-item {
  min-height: 44px !important;
  display: flex !important;
  align-items: center !important;
  padding: 12px 18px !important;
}

a[href^="tel:"],
a[href^="mailto:"] {
  min-height: 32px !important;
  display: inline-flex !important;
  align-items: center !important;
}

.theme-toggle-btn {
  min-width: 44px !important;
  min-height: 44px !important;
}

/* Universal Accessible Form Controls */
form {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
  padding: 24px !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 540px !important;
}

form label {
  display: block !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  margin-bottom: 6px !important;
  color: #1e293b !important;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea {
  width: 100% !important;
  min-height: 46px !important;
  padding: 10px 14px !important;
  margin-bottom: 16px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 15px !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
  background-color: #ffffff !important;
  color: #0f172a !important;
}

form textarea {
  min-height: 110px !important;
}

form input:focus,
form textarea:focus {
  border-color: var(--brand-primary) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2) !important;
  outline: none !important;
}

form button[type="submit"] {
  width: 100% !important;
  min-height: 48px !important;
  background-color: var(--brand-primary) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
}

form button[type="submit"]:hover {
  background-color: var(--brand-primary-hover) !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3) !important;
  transform: translateY(-1px) !important;
}

/* ==========================================================================
   Dark Mode Systemwide Overrides (html.dark-mode)
   ========================================================================== */

html.dark-mode,
html.dark-mode body {
  background-color: var(--bg-primary-dark) !important;
  color: var(--text-secondary-dark) !important;
}

/* Header bar */
html.dark-mode .elementor-element-d356018,
html.dark-mode .elementor-element-d356018:not(.elementor-motion-effects-element-type-background),
html.dark-mode .elementor-element-d356018 > .elementor-motion-effects-container > .elementor-motion-effects-layer,
html.dark-mode .elementor-element-05ebfe1,
html.dark-mode header,
html.dark-mode .site-header {
  background-color: rgba(9, 13, 22, 0.96) !important;
  border-bottom: 1px solid var(--border-dark) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Brand heading text in header */
html.dark-mode .elementor-element-869d4b2 h2.elementor-heading-title {
  color: var(--text-primary-dark) !important;
}

/* Navigation Links */
html.dark-mode .wpr-nav-menu a.wpr-menu-item {
  color: #e2e8f0 !important;
}

html.dark-mode .wpr-nav-menu a.wpr-menu-item:hover,
html.dark-mode .wpr-nav-menu li.current-menu-item > a.wpr-menu-item {
  color: var(--accent-blue) !important;
}

/* Mobile Nav Drawer */
html.dark-mode .wpr-mobile-nav-menu-container,
html.dark-mode .wpr-mobile-nav-menu {
  background-color: var(--bg-secondary-dark) !important;
  border: 1px solid var(--border-dark) !important;
}

html.dark-mode .wpr-mobile-nav-menu a.wpr-mobile-menu-item {
  color: var(--text-primary-dark) !important;
  border-bottom-color: var(--border-dark) !important;
}

html.dark-mode .wpr-mobile-nav-menu a.wpr-mobile-menu-item:hover {
  background-color: var(--bg-card-dark) !important;
  color: var(--accent-blue) !important;
}

html.dark-mode .wpr-mobile-toggle-line {
  background-color: var(--text-primary-dark) !important;
}

/* Section Backgrounds */
html.dark-mode .elementor-section:not(.elementor-section-boxed) {
  background-color: var(--bg-primary-dark);
}

html.dark-mode .elementor-top-section {
  border-color: var(--border-dark);
}

/* Invert all hardcoded white backgrounds */
html.dark-mode [style*="background-color:#ffffff"],
html.dark-mode [style*="background-color: #ffffff"],
html.dark-mode [style*="background-color:#fff"],
html.dark-mode [style*="background-color: #fff"],
html.dark-mode [style*="background-color: rgb(255, 255, 255)"],
html.dark-mode [style*="background:#ffffff"],
html.dark-mode [style*="background: #ffffff"],
html.dark-mode [style*="background:#fff"],
html.dark-mode [style*="background: #fff"],
html.dark-mode [style*="background-color: #f4f4f9"],
html.dark-mode [style*="background-color:#f4f4f9"] {
  background-color: var(--bg-primary-dark) !important;
}

/* Headings & Hero Text */
html.dark-mode h1,
html.dark-mode h2,
html.dark-mode h3,
html.dark-mode h4,
html.dark-mode h5,
html.dark-mode h6,
html.dark-mode .elementor-heading-title,
html.dark-mode .elementor-heading-title a,
html.dark-mode .wpr-flip-box-title,
html.dark-mode .wpr-fancy-text-title {
  color: var(--text-primary-dark) !important;
}

html.dark-mode .elementor-1831 .elementor-element.elementor-element-fad2df5 .wpr-advanced-text-preffix,
html.dark-mode .wpr-advanced-text-preffix {
  color: #f8fafc !important;
}

html.dark-mode .elementor-1831 .elementor-element.elementor-element-fad2df5 .wpr-anim-text,
html.dark-mode .elementor-1831 .elementor-element.elementor-element-fad2df5 .wpr-anim-text b,
html.dark-mode .wpr-anim-text,
html.dark-mode .wpr-anim-text b,
html.dark-mode .wpr-anim-text span,
html.dark-mode .wpr-anim-text-inner,
html.dark-mode .wpr-anim-text-inner b {
  color: #60a5fa !important;
}

html.dark-mode .elementor-1831 .elementor-element.elementor-element-f96cab3 p,
html.dark-mode .elementor-element-f96cab3 p {
  color: #cbd5e1 !important;
}

html.dark-mode .wpr-advanced-text-suffix {
  color: var(--text-secondary-dark) !important;
}

/* Body & descriptions */
html.dark-mode p,
html.dark-mode .elementor-text-editor,
html.dark-mode .wpr-flip-box-description,
html.dark-mode .wpr-icon-box-description,
html.dark-mode .elementor-icon-box-description {
  color: var(--text-secondary-dark) !important;
}

/* Cards, Boxes, Flip Boxes */
html.dark-mode .wpr-flip-box-front,
html.dark-mode .wpr-flip-box-back,
html.dark-mode .wpr-grid-item-inner,
html.dark-mode .elementor-widget-wpr-promo-box .wpr-promo-box-inner,
html.dark-mode .elementor-widget-icon-box .elementor-widget-container {
  background: var(--bg-card-dark) !important;
  border: 1px solid var(--border-dark) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

html.dark-mode .wpr-flip-box-front {
  background: linear-gradient(145deg, #131c2e 0%, #0d1522 100%) !important;
}

html.dark-mode .wpr-flip-box-back {
  background: linear-gradient(145deg, #1e293b 0%, #131c2e 100%) !important;
}

/* Accordion & FAQ Components in Dark Mode */
html.dark-mode .elementor-element-4f8a3db6 > .elementor-widget-wrap,
html.dark-mode .elementor-element-4f8a3db6:not(.elementor-motion-effects-element-type-background) > .elementor-widget-wrap,
html.dark-mode .elementor-element-4f8a3db6 > .elementor-widget-wrap > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-color: var(--bg-card-dark) !important;
  border: 1px solid var(--border-dark) !important;
}

html.dark-mode .elementor-element-72a6c536 .elementor-heading-title,
html.dark-mode .elementor-element-ef912b0 .elementor-heading-title,
html.dark-mode .elementor-element-182c370f .elementor-icon-box-title,
html.dark-mode .elementor-element-19583f09 .elementor-icon-box-title {
  color: var(--text-primary-dark) !important;
}

html.dark-mode .wpr-advanced-accordion .wpr-acc-button {
  background-color: var(--bg-elevated-dark) !important;
  color: var(--text-primary-dark) !important;
  border-color: var(--border-dark) !important;
}

html.dark-mode .wpr-advanced-accordion .wpr-acc-button .wpr-acc-title-text {
  color: var(--text-primary-dark) !important;
}

html.dark-mode .wpr-advanced-accordion .wpr-acc-button .wpr-acc-icon-box {
  background-color: var(--bg-card-dark) !important;
}

html.dark-mode .wpr-advanced-accordion .wpr-acc-button .wpr-title-icon i,
html.dark-mode .wpr-advanced-accordion .wpr-acc-button .wpr-title-icon svg {
  color: var(--accent-blue-hover) !important;
  fill: var(--accent-blue-hover) !important;
}

html.dark-mode .wpr-advanced-accordion .wpr-acc-button .wpr-toggle-icon i,
html.dark-mode .wpr-advanced-accordion .wpr-acc-button .wpr-toggle-icon svg {
  color: var(--text-secondary-dark) !important;
  fill: var(--text-secondary-dark) !important;
}

html.dark-mode .wpr-advanced-accordion .wpr-acc-button.wpr-acc-active {
  background-color: #1d4ed8 !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
}

html.dark-mode .wpr-advanced-accordion .wpr-acc-button.wpr-acc-active .wpr-acc-title-text {
  color: #ffffff !important;
}

html.dark-mode .wpr-advanced-accordion .wpr-acc-button.wpr-acc-active .wpr-acc-icon-box {
  background-color: #1e40af !important;
}

html.dark-mode .wpr-advanced-accordion .wpr-acc-button.wpr-acc-active .wpr-title-icon i,
html.dark-mode .wpr-advanced-accordion .wpr-acc-button.wpr-acc-active .wpr-title-icon svg,
html.dark-mode .wpr-advanced-accordion .wpr-acc-button.wpr-acc-active .wpr-toggle-icon i,
html.dark-mode .wpr-advanced-accordion .wpr-acc-button.wpr-acc-active .wpr-toggle-icon svg {
  color: #ffffff !important;
  fill: #ffffff !important;
}

html.dark-mode .wpr-advanced-accordion .wpr-acc-panel {
  background-color: var(--bg-secondary-dark) !important;
  border-color: var(--border-dark) !important;
  color: var(--text-secondary-dark) !important;
}

html.dark-mode .wpr-advanced-accordion .wpr-acc-panel .wpr-acc-panel-content,
html.dark-mode .wpr-advanced-accordion .wpr-acc-panel p {
  color: var(--text-secondary-dark) !important;
}

/* Feature Lists and Page Elements */
html.dark-mode .wpr-feature-list-title,
html.dark-mode .wpr-feature-list-title a,
html.dark-mode a.wpr-feature-list-url {
  color: var(--text-primary-dark) !important;
}

html.dark-mode .wpr-feature-list-description {
  color: var(--text-secondary-dark) !important;
}

html.dark-mode .elementor-element-61e971a4 .elementor-heading-title,
html.dark-mode .elementor-element-621bc25d .elementor-heading-title,
html.dark-mode .elementor-element-38384bee .elementor-heading-title,
html.dark-mode .elementor-element-681318d8 .elementor-heading-title {
  color: var(--text-primary-dark) !important;
}

html.dark-mode .elementor-element-5c897129:not(.elementor-motion-effects-element-type-background),
html.dark-mode .elementor-element-5c897129 > .elementor-motion-effects-container > .elementor-motion-effects-layer,
html.dark-mode .elementor-element-6a8bc2d5:not(.elementor-motion-effects-element-type-background),
html.dark-mode .elementor-element-6a8bc2d5 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-color: var(--bg-primary-dark) !important;
}

/* Testimonial & Review Cards */
html.dark-mode .wpr-testimonial-item,
html.dark-mode .wpr-testimonial-content {
  background-color: var(--bg-card-dark) !important;
  color: var(--text-secondary-dark) !important;
  border: 1px solid var(--border-dark) !important;
}

/* Clickable Contacts */
html.dark-mode a[href^="tel:"],
html.dark-mode a[href^="mailto:"] {
  color: var(--accent-blue-hover) !important;
}

/* Form Inputs & Containers */
html.dark-mode form {
  background: var(--bg-card-dark) !important;
  border: 1px solid var(--border-dark) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

html.dark-mode label {
  color: var(--text-primary-dark) !important;
}

html.dark-mode input[type="text"],
html.dark-mode input[type="email"],
html.dark-mode input[type="tel"],
html.dark-mode input[type="url"],
html.dark-mode textarea,
html.dark-mode select {
  background-color: var(--bg-elevated-dark) !important;
  color: var(--text-primary-dark) !important;
  border: 1px solid #334155 !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4) !important;
}

html.dark-mode input::placeholder,
html.dark-mode textarea::placeholder {
  color: var(--text-muted-dark) !important;
}

html.dark-mode input:focus,
html.dark-mode textarea:focus {
  border-color: var(--accent-blue) !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25) !important;
}

/* Offcanvas Drawer */
html.dark-mode .wpr-offcanvas-wrap {
  background-color: var(--bg-secondary-dark) !important;
  border-left: 1px solid var(--border-dark) !important;
}

html.dark-mode .wpr-close-offcanvas i {
  color: var(--text-primary-dark) !important;
}

/* Footer Section */
html.dark-mode .elementor-element-3c81e8b,
html.dark-mode footer,
html.dark-mode .site-footer {
  background-color: #05080e !important;
  border-top: 1px solid var(--border-dark) !important;
}

/* Footer widget titles & links */
html.dark-mode .elementor-element-3c81e8b h2,
html.dark-mode .elementor-element-3c81e8b h3,
html.dark-mode .elementor-element-3c81e8b h4 {
  color: var(--text-primary-dark) !important;
}

html.dark-mode .elementor-element-3c81e8b p,
html.dark-mode .elementor-element-3c81e8b span,
html.dark-mode .elementor-element-3c81e8b li {
  color: var(--text-muted-dark) !important;
}

html.dark-mode .elementor-element-3c81e8b a {
  color: #94a3b8 !important;
}

html.dark-mode .elementor-element-3c81e8b a:hover {
  color: var(--accent-blue) !important;
}

/* 3D Logo Glow in Dark Mode */
html.dark-mode .wpr-logo img,
html.dark-mode .wpr-logo picture img,
html.dark-mode .site-logo img {
  filter: drop-shadow(0 0 16px rgba(59, 130, 246, 0.45));
}
