/* GTS Theme System: Light & Dark Modes */
:root {
  --theme-transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  --card-border-hover: rgba(240, 171, 252, 0.4);

  /* Lighter, softer, non-vivid button gradient with high-contrast dark-violet text */
  --btn-grad: linear-gradient(135deg, #DDD6FE 0%, #E9D5FF 50%, #FBCFE8 100%);
  --btn-grad-hover: linear-gradient(135deg, #EDE9FE 0%, #F5D0FE 50%, #FCE7F3 100%);
  --btn-text: #1E0A3C;
  --btn-border: 1px solid rgba(221, 214, 254, 0.4);
  --btn-shadow: 0 4px 18px rgba(221, 214, 254, 0.3);
  --btn-shadow-hover: 0 6px 24px rgba(233, 213, 255, 0.5);
}

body, .nav, .card, .why-tile, .service-card, .teaser-card, .article-content, .widget, .author-box, .btn-ghost, footer, .search-input, .filter-btn, .filter-pill, .table-wrap, table, th, td, .office-card, .contact-card, .contact-form-card, .map-frame-card {
  transition: var(--theme-transition);
}

/* ==========================================================================
   BUTTON SYSTEM (LIGHTER GRADIENT, MAXIMUM LETTER READABILITY, NO HARSH NEON)
   ========================================================================== */
.btn-primary, .nav-cta, .form-btn, .btn-submit, a.nav-cta, a.btn-primary, button.btn-primary, button.form-btn {
  background: var(--btn-grad) !important;
  color: var(--btn-text) !important;
  font-weight: 750 !important;
  letter-spacing: 0.01em;
  border: var(--btn-border, none) !important;
  box-shadow: var(--btn-shadow) !important;
  text-shadow: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
}
.btn-primary svg, .nav-cta svg, .form-btn svg, .btn-submit svg, a.nav-cta svg, a.btn-primary svg {
  stroke: var(--btn-text) !important;
  fill: none !important;
}
.btn-primary:hover, .nav-cta:hover, .form-btn:hover, .btn-submit:hover, a.nav-cta:hover, a.btn-primary:hover {
  background: var(--btn-grad-hover) !important;
  color: var(--btn-text) !important;
  transform: translateY(-2px);
  box-shadow: var(--btn-shadow-hover) !important;
}
.btn-primary:hover svg, .nav-cta:hover svg, .form-btn:hover svg, .btn-submit:hover svg {
  stroke: var(--btn-text) !important;
}
.nav-cta.active {
  box-shadow: 0 0 16px rgba(221, 214, 254, 0.5) !important;
  border: 1.5px solid rgba(221, 214, 254, 0.7) !important;
}
[data-theme="light"] .nav-cta.active {
  box-shadow: 0 0 16px rgba(126, 34, 206, 0.2) !important;
  border: 1.5px solid rgba(126, 34, 206, 0.35) !important;
}
/* Eliminate bright white shine animation that washed out the letters */
.btn-primary::after {
  display: none !important;
}

/* THEME TOGGLE BUTTON IN NAVBAR */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--card-border);
  color: var(--accent);
  cursor: pointer;
  padding: 0;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(217, 70, 239, 0.3);
}
.theme-toggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.theme-toggle .sun-icon { display: block; }
.theme-toggle .moon-icon { display: none; }

/* ==========================================================================
   LIGHT MODE OVERRIDES
   Clean, modern, accessible standard white/light theme
   ========================================================================== */
:root[data-theme="light"],
[data-theme="light"] {
  --bg-deep: #F8FAFC;
  --bg-char: #FFFFFF;
  --text: #0F172A;
  --text-dim: #475569;
  --accent: #7E22CE;
  --p1: #7E22CE;
  --p2: #9333EA;
  --p3: #A855F7;
  --p4: #C084FC;
  --card-border: rgba(15, 23, 42, 0.09);
  --card-border-hover: rgba(126, 34, 206, 0.35);
  --grad: linear-gradient(135deg, #7E22CE 0%, #9333EA 50%, #C084FC 100%);
  --grad-soft: linear-gradient(135deg, rgba(126, 34, 206, 0.08), rgba(168, 85, 247, 0.08));
  --grad-hover: linear-gradient(135deg, rgba(126, 34, 206, 0.14), rgba(168, 85, 247, 0.14));

  /* Light mode buttons: Gentle, soft violet/rose tint with deep purple readable text */
  --btn-grad: linear-gradient(135deg, #EDE9FE 0%, #F5D0FE 50%, #FCE7F3 100%);
  --btn-grad-hover: linear-gradient(135deg, #E9D5FF 0%, #F3E8FF 50%, #FAE8FF 100%);
  --btn-text: #3B0764;
  --btn-border: 1px solid rgba(126, 34, 206, 0.25);
  --btn-shadow: 0 2px 10px rgba(126, 34, 206, 0.1);
  --btn-shadow-hover: 0 4px 16px rgba(126, 34, 206, 0.22);
}

[data-theme="light"] body {
  background: var(--bg-deep);
  color: var(--text);
}

[data-theme="light"] ::selection {
  background: rgba(192, 38, 211, 0.2);
  color: #0F172A;
}

/* Theme Toggle in Light Mode */
[data-theme="light"] .theme-toggle {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #7E22CE;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}
[data-theme="light"] .theme-toggle:hover {
  background: rgba(126, 34, 206, 0.08);
  box-shadow: 0 4px 14px rgba(126, 34, 206, 0.2);
}
[data-theme="light"] .theme-toggle .sun-icon { display: none; }
[data-theme="light"] .theme-toggle .moon-icon { display: block; }

/* Navbar in Light Mode */
[data-theme="light"] .nav.scrolled {
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}
[data-theme="light"] .brand-name {
  color: #0F172A !important;
}
[data-theme="light"] .brand-name span {
  color: #64748B !important;
}
[data-theme="light"] .nav-links a {
  color: #334155 !important;
}
[data-theme="light"] .nav-links a:hover {
  color: #7E22CE !important;
  background: rgba(126, 34, 206, 0.08) !important;
}
[data-theme="light"] .nav-links a.active {
  color: #7E22CE !important;
  background: rgba(126, 34, 206, 0.1) !important;
}
[data-theme="light"] .hamburger span {
  background: #0F172A !important;
}

/* ==========================================================================
   MOBILE NAVIGATION SYSTEM (MODERN FULL DRAWER, ZERO FLICKER, PERFECT CONTRAST)
   ========================================================================== */
@media (max-width: 768px) {
  /* Fixed Top Navbar Bar */
  .nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 64px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    z-index: 1005 !important;
    background: #140B22 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
    transition: background 0.25s ease, border-color 0.25s ease !important;
  }
  .nav.scrolled {
    height: 64px !important;
    padding: 0 !important;
    background: #12091F !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  }
  .nav-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: 100% !important;
    gap: 12px !important;
  }
  .brand {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    z-index: 1006 !important;
    flex-shrink: 0 !important;
  }
  .brand-mark {
    font-size: 1.65rem !important;
    line-height: 1 !important;
  }
  .brand-name {
    font-size: 0.88rem !important;
    line-height: 1.15 !important;
  }
  .brand-name span {
    font-size: 0.6rem !important;
    letter-spacing: 0.1em !important;
  }
  .nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    z-index: 1006 !important;
  }

  /* Theme Toggle on mobile */
  .theme-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: var(--accent) !important;
    flex-shrink: 0 !important;
  }

  /* Hamburger Toggle Button */
  .hamburger {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    cursor: pointer !important;
    gap: 5px !important;
    z-index: 1006 !important;
    transition: all 0.25s ease !important;
    flex-shrink: 0 !important;
  }
  .hamburger:hover,
  .hamburger:focus-visible {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(240, 171, 252, 0.4) !important;
  }
  .hamburger span {
    display: block !important;
    width: 20px !important;
    height: 2px !important;
    background: #F1EAFF !important;
    border-radius: 2px !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease !important;
    transform-origin: center !important;
  }

  /* Animated Hamburger to 'X' */
  .hamburger.open {
    background: rgba(240, 171, 252, 0.15) !important;
    border-color: rgba(240, 171, 252, 0.45) !important;
  }
  .hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg) !important;
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0 !important;
    transform: scaleX(0) !important;
  }
  .hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg) !important;
  }

  /* Mobile Navigation Drawer (Clean, Solid, Full Viewport Height Below Top Bar) */
  .nav-links {
    display: none !important;
    position: fixed !important;
    top: 64px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    background: #0E0719 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7) !important;
    padding: 20px 20px 36px !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 8px !important;
    z-index: 1004 !important;
  }

  /* Open State */
  .nav-links.open {
    display: flex !important;
    animation: mobileDrawerSlide 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  }

  @keyframes mobileDrawerSlide {
    from {
      transform: translateY(-8px);
    }
    to {
      transform: translateY(0);
    }
  }

  /* Mobile Links Styling */
  .nav-links a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 18px !important;
    border-radius: 12px !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #F1EAFF !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    transition: all 0.2s ease !important;
    text-align: left !important;
  }
  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(240, 171, 252, 0.3) !important;
    color: #FFFFFF !important;
    transform: translateX(3px) !important;
  }
  .nav-links a.active {
    color: #F0ABFC !important;
    background: rgba(240, 171, 252, 0.12) !important;
    border-color: rgba(240, 171, 252, 0.35) !important;
  }

  /* Contact CTA inside mobile drawer */
  .nav-links a.nav-cta {
    margin-top: 8px !important;
    padding: 15px 22px !important;
    justify-content: center !important;
    text-align: center !important;
    border-radius: 100px !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    background: var(--btn-grad, linear-gradient(135deg, #A855F7 0%, #D946EF 100%)) !important;
    color: #FFFFFF !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.35) !important;
    transform: none !important;
  }
  .nav-links a.nav-cta:hover {
    box-shadow: 0 6px 24px rgba(217, 70, 239, 0.5) !important;
    transform: translateY(-2px) !important;
  }

  /* ----------------------------------------------------
     LIGHT MODE MOBILE OVERRIDES
     ---------------------------------------------------- */
  [data-theme="light"] .nav {
    background: #FFFFFF !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05) !important;
  }
  [data-theme="light"] .nav.scrolled {
    background: #FFFFFF !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1) !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
  }
  [data-theme="light"] .theme-toggle {
    background: #F8FAFC !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    color: #7E22CE !important;
  }
  [data-theme="light"] .hamburger {
    background: #F8FAFC !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
  }
  [data-theme="light"] .hamburger:hover {
    background: #F1F5F9 !important;
    border-color: rgba(126, 34, 206, 0.3) !important;
  }
  [data-theme="light"] .hamburger span {
    background: #0F172A !important;
  }
  [data-theme="light"] .hamburger.open {
    background: rgba(126, 34, 206, 0.08) !important;
    border-color: rgba(126, 34, 206, 0.3) !important;
  }
  [data-theme="light"] .nav-links {
    background: #FFFFFF !important;
    border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.1) !important;
  }
  [data-theme="light"] .nav-links a {
    color: #0F172A !important;
    background: #F8FAFC !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
  }
  [data-theme="light"] .nav-links a:hover,
  [data-theme="light"] .nav-links a:focus-visible {
    color: #7E22CE !important;
    background: #EDE9FE !important;
    border-color: rgba(126, 34, 206, 0.3) !important;
  }
  [data-theme="light"] .nav-links a.active {
    color: #7E22CE !important;
    background: rgba(126, 34, 206, 0.08) !important;
    border-color: rgba(126, 34, 206, 0.28) !important;
  }
}

/* Prevent body scrolling while mobile drawer is open */
body.nav-menu-open {
  overflow: hidden !important;
  touch-action: none;
}

/* Hero & Canvas */
[data-theme="light"] .hero {
  background: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(192, 132, 252, 0.1), transparent 60%),
              radial-gradient(ellipse 60% 50% at 20% 80%, rgba(126, 34, 206, 0.08), transparent 60%),
              var(--bg-deep) !important;
}
[data-theme="light"] .page-hero,
[data-theme="light"] .article-hero {
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(192, 132, 252, 0.1), transparent 65%),
              var(--bg-deep) !important;
}
[data-theme="light"] #neural-canvas {
  opacity: 0.35;
}
[data-theme="light"] .hero-orb {
  opacity: 0.18;
}

/* Eyebrows, Badges & Breadcrumbs */
[data-theme="light"] .eyebrow,
[data-theme="light"] .crumb,
[data-theme="light"] .section-head .eyebrow {
  color: #7E22CE !important;
  background: rgba(126, 34, 206, 0.08) !important;
  border: 1px solid rgba(126, 34, 206, 0.22) !important;
}
[data-theme="light"] .badge,
[data-theme="light"] .badge-sector {
  color: #7E22CE !important;
  background: rgba(126, 34, 206, 0.08) !important;
  border: 1px solid rgba(126, 34, 206, 0.22) !important;
}
[data-theme="light"] .badge-region {
  color: #475569 !important;
}
[data-theme="light"] .badge-region svg {
  stroke: #7E22CE !important;
}
[data-theme="light"] .crumb a,
[data-theme="light"] .breadcrumbs a {
  color: #7E22CE !important;
}
[data-theme="light"] .breadcrumbs span.sep {
  color: #94A3B8 !important;
}

/* Secondary Button */
[data-theme="light"] .btn-ghost {
  border: 1.5px solid rgba(15, 23, 42, 0.18) !important;
  color: #0F172A !important;
  background: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}
[data-theme="light"] .btn-ghost:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
  background: rgba(126, 34, 206, 0.06) !important;
  box-shadow: 0 4px 16px rgba(126, 34, 206, 0.15) !important;
}

/* Cards & Surfaces */
[data-theme="light"] .card,
[data-theme="light"] .service-card,
[data-theme="light"] .teaser-card,
[data-theme="light"] .blog-card,
[data-theme="light"] .info-card,
[data-theme="light"] .office-hub-card,
[data-theme="light"] .contact-form-card,
[data-theme="light"] .contact-card,
[data-theme="light"] .map-frame-card,
[data-theme="light"] .faq-item,
[data-theme="light"] .article-content,
[data-theme="light"] .widget,
[data-theme="light"] .partner-card {
  background: #FFFFFF !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
}
[data-theme="light"] .card:hover,
[data-theme="light"] .service-card:hover,
[data-theme="light"] .teaser-card:hover,
[data-theme="light"] .blog-card:hover,
[data-theme="light"] .info-card:hover,
[data-theme="light"] .office-hub-card:hover,
[data-theme="light"] .contact-card:hover,
[data-theme="light"] .partner-card:hover {
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08), 0 0 24px rgba(126, 34, 206, 0.06) !important;
  border-color: rgba(126, 34, 206, 0.28) !important;
}
[data-theme="light"] .card h3,
[data-theme="light"] .service-card h3,
[data-theme="light"] .teaser-card h3,
[data-theme="light"] .blog-body h3,
[data-theme="light"] .info-card h2,
[data-theme="light"] .info-card h3,
[data-theme="light"] .office-hub-card h2,
[data-theme="light"] .map-frame-head h3,
[data-theme="light"] .map-frame-head h4,
[data-theme="light"] .faq-question,
[data-theme="light"] .quick-value,
[data-theme="light"] .info-item strong,
[data-theme="light"] .partner-card h3 {
  color: #0F172A !important;
}
[data-theme="light"] .faq-answer {
  color: #475569 !important;
}
[data-theme="light"] .faq-icon {
  background: rgba(126, 34, 206, 0.08) !important;
  border-color: rgba(126, 34, 206, 0.2) !important;
  color: #7E22CE !important;
}
[data-theme="light"] .faq-item.open {
  border-color: rgba(126, 34, 206, 0.28) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
}
[data-theme="light"] .direct-btn-call,
[data-theme="light"] .action-btn-call {
  background: #F8FAFC !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  color: #0F172A !important;
}
[data-theme="light"] .direct-btn-call:hover,
[data-theme="light"] .action-btn-call:hover {
  background: #EDE9FE !important;
  color: #3B0764 !important;
  border-color: rgba(126, 34, 206, 0.3) !important;
}
[data-theme="light"] .direct-btn-mail {
  background: var(--btn-grad) !important;
  color: var(--btn-text) !important;
  border: var(--btn-border, 1px solid rgba(126, 34, 206, 0.25)) !important;
}
[data-theme="light"] .direct-btn-mail:hover {
  background: var(--btn-grad-hover) !important;
  color: var(--btn-text) !important;
}
[data-theme="light"] .map-open-link {
  background: #F8FAFC !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  color: #0F172A !important;
}
[data-theme="light"] .map-open-link:hover {
  background: #EDE9FE !important;
  color: #7E22CE !important;
}

/* Why Tiles */
[data-theme="light"] .why-tile {
  background: #FFFFFF !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
}
[data-theme="light"] .why-tile:hover {
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08) !important;
  border-color: rgba(126, 34, 206, 0.25) !important;
}
[data-theme="light"] .why-tile::after {
  opacity: 0.1 !important;
}
[data-theme="light"] .why-icon {
  background: rgba(126, 34, 206, 0.06) !important;
  border: 1px solid rgba(126, 34, 206, 0.15) !important;
}

/* Process Flow */
[data-theme="light"] .process {
  background: #FFFFFF !important;
}
[data-theme="light"] .step-num {
  background: linear-gradient(#FFFFFF, #FFFFFF) padding-box, var(--grad) border-box !important;
}

/* CTA sections */
[data-theme="light"] .cta {
  background: linear-gradient(135deg, rgba(126, 34, 206, 0.06), rgba(192, 132, 252, 0.06)), #FFFFFF !important;
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}
[data-theme="light"] .cta::before,
[data-theme="light"] .cta::after {
  background: rgba(126, 34, 206, 0.06) !important;
}
[data-theme="light"] .cta-banner {
  background: linear-gradient(135deg, rgba(126, 34, 206, 0.06), rgba(192, 132, 252, 0.06)), #FFFFFF !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.04) !important;
}
[data-theme="light"] .cta-banner h3 {
  color: #0F172A !important;
}

/* Modal Dialog in Light Mode */
[data-theme="light"] .modal-overlay {
  background: rgba(15, 23, 42, 0.55) !important;
}
[data-theme="light"] .modal-card {
  background: #FFFFFF !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.18) !important;
  color: #0F172A !important;
}
[data-theme="light"] .modal-close {
  background: rgba(15, 23, 42, 0.06) !important;
  color: #0F172A !important;
}
[data-theme="light"] .modal-close:hover {
  background: rgba(15, 23, 42, 0.12) !important;
}

/* Portfolio Page */
[data-theme="light"] .stats-banner {
  background: #FFFFFF !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
}
[data-theme="light"] .client-marquee-section {
  background: #F1F5F9 !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
}
[data-theme="light"] .marquee-badge {
  background: #FFFFFF !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  color: #1E293B !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03) !important;
}
[data-theme="light"] .marquee-badge:hover {
  background: #FFFFFF !important;
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}
[data-theme="light"] .client-card {
  background: #FFFFFF !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03) !important;
}
[data-theme="light"] .client-card:hover {
  border-color: rgba(126, 34, 206, 0.3) !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08) !important;
}
[data-theme="light"] .client-name {
  color: #0F172A !important;
}

/* Form Controls & Inputs */
[data-theme="light"] .form-input,
[data-theme="light"] .form-select,
[data-theme="light"] .form-textarea,
[data-theme="light"] .search-input,
[data-theme="light"] .newsletter-input {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border: 1.5px solid rgba(15, 23, 42, 0.14) !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02) !important;
}
[data-theme="light"] .form-input::placeholder,
[data-theme="light"] .form-textarea::placeholder,
[data-theme="light"] .search-input::placeholder,
[data-theme="light"] .newsletter-input::placeholder {
  color: #94A3B8 !important;
  opacity: 1 !important;
}
[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-select:focus,
[data-theme="light"] .form-textarea:focus,
[data-theme="light"] .search-input:focus,
[data-theme="light"] .newsletter-input:focus {
  background: #FFFFFF !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(126, 34, 206, 0.15) !important;
  outline: none !important;
}
[data-theme="light"] .form-label {
  color: #1E293B !important;
}
[data-theme="light"] .form-select option {
  background: #FFFFFF !important;
  color: #0F172A !important;
}

/* Filter Buttons & Pills */
[data-theme="light"] .filter-btn,
[data-theme="light"] .filter-pill {
  background: #FFFFFF !important;
  color: #475569 !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02) !important;
}
[data-theme="light"] .filter-btn:hover,
[data-theme="light"] .filter-pill:hover {
  color: var(--accent) !important;
  background: rgba(126, 34, 206, 0.06) !important;
  border-color: rgba(126, 34, 206, 0.28) !important;
}
[data-theme="light"] .filter-btn.active,
[data-theme="light"] .filter-pill.active {
  background: var(--btn-grad) !important;
  color: var(--btn-text) !important;
  font-weight: 750 !important;
  border: var(--btn-border, 1px solid rgba(126,34,206,0.25)) !important;
  box-shadow: 0 4px 14px rgba(126, 34, 206, 0.18) !important;
}
[data-theme="light"] .search-clear {
  color: #64748B !important;
}
[data-theme="light"] .search-clear:hover {
  color: #0F172A !important;
}

/* Newsletter Card */
[data-theme="light"] .newsletter-card {
  background: linear-gradient(135deg, rgba(126, 34, 206, 0.06), rgba(192, 132, 252, 0.06)), #FFFFFF !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.04) !important;
}
[data-theme="light"] .newsletter-card h3 {
  color: #0F172A !important;
}

/* Blog Articles Layout */
[data-theme="light"] .article-content,
[data-theme="light"] .widget {
  background: #FFFFFF !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.04) !important;
}
[data-theme="light"] .article-content h2,
[data-theme="light"] .article-content h3,
[data-theme="light"] .widget h4,
[data-theme="light"] .author-info h5,
[data-theme="light"] .callout h4 {
  color: #0F172A !important;
}
[data-theme="light"] .featured-graphic {
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
}
[data-theme="light"] .callout {
  background: linear-gradient(135deg, rgba(126, 34, 206, 0.06), rgba(192, 132, 252, 0.04)) !important;
  border-left: 4px solid var(--accent) !important;
}
[data-theme="light"] .stat-item {
  background: #F8FAFC !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
}
[data-theme="light"] .table-wrap {
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
}
[data-theme="light"] table th {
  background: rgba(126, 34, 206, 0.08) !important;
  color: #0F172A !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1) !important;
}
[data-theme="light"] table td {
  color: #334155 !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
}
[data-theme="light"] table tr:hover td {
  background: rgba(126, 34, 206, 0.03) !important;
}
[data-theme="light"] .author-box {
  background: #F8FAFC !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
}
[data-theme="light"] .share-btn {
  background: #FFFFFF !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  color: #334155 !important;
}
[data-theme="light"] .share-btn:hover {
  background: var(--btn-grad) !important;
  color: var(--btn-text) !important;
}

[data-theme="light"] pre,
[data-theme="light"] code {
  background: #F1F5F9 !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  color: #7E22CE !important;
}
[data-theme="light"] .status-bad {
  background: rgba(239, 68, 68, 0.1) !important;
  border-color: rgba(239, 68, 68, 0.3) !important;
  color: #DC2626 !important;
}
[data-theme="light"] .status-good {
  background: rgba(16, 185, 129, 0.1) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
  color: #059669 !important;
}

/* Footer in Light Mode */
[data-theme="light"] footer {
  background: #F1F5F9 !important;
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
}
[data-theme="light"] .footer-brand p,
[data-theme="light"] .footer-col li,
[data-theme="light"] .footer-col a,
[data-theme="light"] .footer-bottom p {
  color: #475569 !important;
}
[data-theme="light"] .footer-col h4 {
  color: #0F172A !important;
}
[data-theme="light"] .footer-col a:hover {
  color: var(--accent) !important;
}
[data-theme="light"] .footer-bottom {
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
}
[data-theme="light"] .social-btn {
  background: #FFFFFF !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
}
[data-theme="light"] .social-btn svg {
  fill: #334155 !important;
}
[data-theme="light"] .social-btn:hover {
  background: var(--btn-grad) !important;
}
[data-theme="light"] .social-btn:hover svg {
  fill: var(--btn-text) !important;
}

/* Back to Top Button */
[data-theme="light"] .to-top {
  background: var(--btn-grad) !important;
  color: var(--btn-text) !important;
  border: var(--btn-border, none) !important;
  box-shadow: 0 4px 16px rgba(126, 34, 206, 0.25) !important;
}
[data-theme="light"] .to-top svg {
  stroke: var(--btn-text) !important;
}
