/* =========================================================================
   THEME VARIABLES
   ========================================================================= */

/* Dark Theme (Default) */
:root[data-theme="dark"],
html[data-theme="dark"],
body[data-theme="dark"] {
  --void: #02040A;
  --abyss: #060C1C;
  --deep: #0B1628;
  --surface: #111E35;
  --rim: rgba(79,124,255,0.12);
  --rim2: rgba(255,255,255,0.06);
  --blue: #4F7CFF;
  --indigo: #6366F1;
  --violet: #8B5CF6;
  --cyan: #22D3EE;
  --teal: #14B8A6;
  --rose: #FB7185;
  --amber: #F59E0B;
  --text: #EEF2FF;
  --muted: rgba(238,242,255,0.45);
  --dimmed: rgba(238,242,255,0.22);
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;

  --shadow-sm: 0 4px 24px rgba(0,0,0,0.5);
  --shadow-md: 0 8px 48px rgba(0,0,0,0.6);
  --shadow-lg: 0 20px 80px rgba(0,0,0,0.7);

  --nav-bg: rgba(6, 12, 28, 0.88);
  --nav-border: var(--rim2);
  --nav-text: rgba(255, 255, 255, 0.85);
  --nav-logo: white;

  --btn-ghost-bg: rgba(255, 255, 255, 0.07);
  --btn-ghost-border: rgba(255, 255, 255, 0.14);
  --btn-ghost-text: rgba(255, 255, 255, 0.85);

  --cursor-ring-color: rgba(79, 124, 255, 0.5);
  --cursor-dot-color: var(--cyan);
}

/* Light Theme */
:root[data-theme="light"],
html[data-theme="light"],
body[data-theme="light"] {
  --void: #F7F8FC;
  --abyss: #FFFFFF;
  --deep: #FFFFFF;
  --surface: #FFFFFF;
  --rim: rgba(79,124,255,0.15);
  --rim2: rgba(79,124,255,0.08);
  --blue: #4F7CFF;
  --indigo: #6366F1;
  --violet: #7B61FF;
  --cyan: #0891B2;
  --teal: #0D9488;
  --rose: #FB7185;
  --amber: #F59E0B;
  --text: #111827;
  --muted: #374151;
  --dimmed: #6B7280;
  --slate-300: #475569;
  --slate-400: #64748b;

  --shadow-sm: 0 4px 24px rgba(79,124,255,0.08);
  --shadow-md: 0 8px 48px rgba(79,124,255,0.14);
  --shadow-lg: 0 20px 80px rgba(79,124,255,0.18);

  --nav-bg: rgba(255, 255, 255, 0.88);
  --nav-border: rgba(79, 124, 255, 0.1);
  --nav-text: var(--muted);
  --nav-logo: var(--text);

  --btn-ghost-bg: rgba(79, 124, 255, 0.07);
  --btn-ghost-border: rgba(79, 124, 255, 0.2);
  --btn-ghost-text: var(--blue);

  --cursor-ring-color: rgba(79, 124, 255, 0.4);
  --cursor-dot-color: var(--blue);
}

/* =========================================================================
   INTENTIONAL DARK SECTIONS (Always remain dark)
   ========================================================================= */
body[data-theme="light"] .mobile-menu {
  --void: #02040A;
  --abyss: #060C1C;
  --deep: #0B1628;
  --surface: #111E35;
  --rim: rgba(79,124,255,0.12);
  --rim2: rgba(255,255,255,0.06);
  --blue: #4F7CFF;
  --indigo: #6366F1;
  --violet: #8B5CF6;
  --cyan: #22D3EE;
  --teal: #14B8A6;
  --rose: #FB7185;
  --amber: #F59E0B;
  --text: #EEF2FF;
  --muted: rgba(238,242,255,0.45);
  --dimmed: rgba(238,242,255,0.22);
  --btn-ghost-bg: rgba(255, 255, 255, 0.07);
  --btn-ghost-border: rgba(255, 255, 255, 0.14);
  --btn-ghost-text: rgba(255, 255, 255, 0.85);
  color: var(--text) !important;
}

/* =========================================================================
   THEME STYLES OVERRIDES
   ========================================================================= */

/* Body baseline */
body[data-theme] {
  background-color: var(--void) !important;
  color: var(--text) !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Headings color override */
body[data-theme="light"] h1,
body[data-theme="light"] h2,
body[data-theme="light"] h3,
body[data-theme="light"] h4,
body[data-theme="light"] h5,
body[data-theme="light"] h6 {
  color: var(--text) !important;
}

/* Exclude headings inside dark sections */
body[data-theme="light"] {
  /* empty headings exclusions since footer h4 is removed */
}

/* Light theme overrides for standard CTA section headings */
body[data-theme="light"] .cta-section .cta-h2 {
  color: var(--text) !important;
}

/* Scrolled Navbar */
body[data-theme] .nav.scrolled {
  background: var(--nav-bg) !important;
  border-bottom: 1px solid var(--nav-border) !important;
  box-shadow: var(--shadow-sm) !important;
}
body[data-theme] .nav-logo {
  color: var(--nav-logo) !important;
}
body[data-theme] .nav-links a {
  color: var(--nav-text) !important;
  border: 1px solid transparent !important;
}
body[data-theme] .nav-links a:hover {
  color: var(--blue) !important;
  background: rgba(79, 124, 255, 0.08) !important;
  border-color: rgba(79, 124, 255, 0.18) !important;
}
body[data-theme] .nav.scrolled .nav-links a {
  color: var(--nav-text) !important;
}

/* ══════════ ACTIVE NAV MENU HIGHLIGHT (Dark Theme) ══════════ */
body[data-theme] .nav-links a.active,
body[data-theme] .nav.scrolled .nav-links a.active {
  color: #FFFFFF !important;
  font-weight: 700 !important;
  background: rgba(79, 124, 255, 0.16) !important;
  border: 1px solid rgba(79, 124, 255, 0.32) !important;
  box-shadow: 0 4px 18px -4px rgba(79, 124, 255, 0.35) !important;
}
body[data-theme] .nav-links a.active::after {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 10px !important;
  right: 10px !important;
  height: 2px !important;
  background: linear-gradient(90deg, #4F7CFF, #22D3EE) !important;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.7) !important;
  border-radius: 2px !important;
}
body[data-theme] .nav-links a.active .dropdown-arrow {
  border-top-color: var(--cyan) !important;
}

/* ══════════ ACTIVE NAV MENU HIGHLIGHT (Light Theme) ══════════ */
body[data-theme="light"] .nav-links a.active,
body[data-theme="light"] .nav.scrolled .nav-links a.active {
  color: #2563EB !important;
  font-weight: 700 !important;
  background: rgba(79, 124, 255, 0.12) !important;
  border: 1px solid rgba(79, 124, 255, 0.28) !important;
  box-shadow: 0 4px 18px -4px rgba(79, 124, 255, 0.2) !important;
}
body[data-theme="light"] .nav-links a.active::after {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 10px !important;
  right: 10px !important;
  height: 2.5px !important;
  background: #2563EB !important;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.5) !important;
  border-radius: 2px !important;
}
body[data-theme="light"] .nav-links a.active .dropdown-arrow {
  border-top-color: #2563EB !important;
}

/* Dropdown Menu Items Active State */
body[data-theme] .dropdown-menu a.active {
  color: #FFFFFF !important;
  background: rgba(79, 124, 255, 0.2) !important;
  font-weight: 700 !important;
  border-left: 3px solid var(--cyan) !important;
  padding-left: 14px !important;
}
body[data-theme] .dropdown-menu a.active .dd-icon {
  background: rgba(79, 124, 255, 0.3) !important;
  border-color: rgba(34, 211, 238, 0.5) !important;
}
body[data-theme="light"] .dropdown-menu a.active {
  color: #2563EB !important;
  background: rgba(79, 124, 255, 0.1) !important;
  font-weight: 700 !important;
  border-left: 3px solid #2563EB !important;
  padding-left: 14px !important;
}
body[data-theme="light"] .dropdown-menu a.active .dd-icon {
  background: rgba(79, 124, 255, 0.15) !important;
  border-color: rgba(79, 124, 255, 0.35) !important;
}

/* Mobile Menu Active State */
body[data-theme] .mobile-nav-link,
body[data-theme] .mmenu-services-toggle {
  border-left: 3px solid transparent;
}
body[data-theme] .mobile-nav-link.active,
body[data-theme] .mmenu-services-toggle.active {
  color: #FFFFFF !important;
  background: rgba(79, 124, 255, 0.18) !important;
  font-weight: 700 !important;
  border-left: 3px solid var(--cyan) !important;
}
body[data-theme] .mmenu-services-sub a.active {
  color: var(--cyan) !important;
  font-weight: 700 !important;
}
body[data-theme] .mmenu-services-sub a.active .sub-dot {
  background: var(--cyan) !important;
  box-shadow: 0 0 8px var(--cyan) !important;
}
body[data-theme="light"] .mobile-nav-link.active,
body[data-theme="light"] .mmenu-services-toggle.active {
  color: #2563EB !important;
  background: rgba(79, 124, 255, 0.12) !important;
  font-weight: 700 !important;
  border-left: 3px solid #2563EB !important;
}
body[data-theme="light"] .mmenu-services-sub a.active {
  color: #2563EB !important;
  font-weight: 700 !important;
}
body[data-theme="light"] .mmenu-services-sub a.active .sub-dot {
  background: #2563EB !important;
  box-shadow: 0 0 8px #2563EB !important;
}

/* Ghost Button */
body[data-theme] .btn-ghost {
  background: var(--btn-ghost-bg) !important;
  border-color: var(--btn-ghost-border) !important;
  color: var(--btn-ghost-text) !important;
}
body[data-theme] .btn-ghost:hover {
  background: rgba(79, 124, 255, 0.12) !important;
}

/* Cards & Cells */
body[data-theme="light"] .svc-card,
body[data-theme="light"] .ms-card,
body[data-theme="light"] .case-card,
body[data-theme="light"] .res-card,
body[data-theme="light"] .about-inner-card,
body[data-theme="light"] .about-stat-cell {
  background: var(--abyss) !important;
  border-color: var(--rim) !important;
  box-shadow: var(--shadow-sm) !important;
}
body[data-theme="light"] .svc-card:hover,
body[data-theme="light"] .ms-card:hover,
body[data-theme="light"] .case-card:hover,
body[data-theme="light"] .res-card:hover {
  box-shadow: var(--shadow-md) !important;
  background: #FFFFFF !important;
}

/* Card titles and descriptions */
body[data-theme="light"] .svc-card h3,
body[data-theme="light"] .ms-card h4,
body[data-theme="light"] .case-body h4,
body[data-theme="light"] .res-card h4 {
  color: var(--text) !important;
}
body[data-theme="light"] .svc-card p,
body[data-theme="light"] .ms-card p,
body[data-theme="light"] .case-body p,
body[data-theme="light"] .res-card p {
  color: var(--muted) !important;
}

/* Floating about cards and tags */
body[data-theme="light"] .floating-tag {
  background: #FFFFFF !important;
  box-shadow: var(--shadow-md) !important;
  border-color: var(--rim) !important;
  color: var(--text) !important;
}
body[data-theme="light"] .about-mini-card {
  background: #FFFFFF !important;
  box-shadow: var(--shadow-sm) !important;
  border-color: var(--rim) !important;
}
body[data-theme="light"] .about-mini-card h4,
body[data-theme="light"] .about-mini-card p {
  color: var(--text) !important;
}

/* About Stats and number gradients */
body[data-theme="light"] .stat-num,
body[data-theme="light"] .hstat-num,
body[data-theme="light"] .pi-stat-num,
body[data-theme="light"] .result-num,
body[data-theme="light"] .bd-stat-num,
body[data-theme="light"] .why-pstat-num {
  background: linear-gradient(135deg, #1e3a8a 30%, #3b82f6 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
body[data-theme="light"] .about-stats-grid {
  background: var(--abyss) !important;
  border-color: var(--rim) !important;
}
body[data-theme="light"] .about-stat-cell + .about-stat-cell {
  border-left-color: var(--rim) !important;
}
body[data-theme="light"] .about-stat-cell:nth-child(3),
body[data-theme="light"] .about-stat-cell:nth-child(4) {
  border-top-color: var(--rim) !important;
}
body[data-theme="light"] .about-stat-cell:hover {
  background: rgba(79, 124, 255, 0.08) !important;
}

/* MS Dashboard specific overrides */
body[data-theme="light"] .ms-dashboard {
  background: #FFFFFF !important;
  border-color: var(--rim) !important;
  box-shadow: var(--shadow-md) !important;
}
body[data-theme="light"] .ms-dash-title {
  color: var(--text) !important;
}
body[data-theme="light"] .ms-kpi-num {
  background: linear-gradient(135deg, var(--text), var(--blue)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
body[data-theme="light"] .ms-dash-head {
  border-bottom-color: var(--rim) !important;
}

/* Forms and inputs */
body[data-theme="light"] .form-input,
body[data-theme="light"] .form-select,
body[data-theme="light"] .form-textarea {
  background-color: #FFFFFF !important;
  border: 1px solid rgba(79, 124, 255, 0.2) !important;
  color: var(--text) !important;
}
body[data-theme="light"] .form-input::placeholder,
body[data-theme="light"] .form-textarea::placeholder {
  color: var(--dimmed) !important;
}
body[data-theme="light"] .form-input:focus,
body[data-theme="light"] .form-select:focus,
body[data-theme="light"] .form-textarea:focus {
  border-color: var(--blue) !important;
  background-color: #FFFFFF !important;
}
body[data-theme="light"] .form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23374151' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
}
body[data-theme="light"] .form-select option {
  background: #FFFFFF !important;
  color: var(--text) !important;
}
body[data-theme="light"] .form-label {
  color: var(--muted) !important;
}

/* Newsletter row inputs */
body[data-theme="light"] .nl-input {
  background: #FFFFFF !important;
  border: 1px solid rgba(79, 124, 255, 0.2) !important;
  color: var(--text) !important;
}
body[data-theme="light"] .nl-input::placeholder {
  color: var(--dimmed) !important;
}
body[data-theme="light"] .nl-input:focus {
  border-color: var(--blue) !important;
}

/* Case Study Tags / badges */
body[data-theme="light"] .case-tag-badge {
  background: #FFFFFF !important;
  border-color: var(--rim) !important;
  color: var(--blue) !important;
}
body[data-theme="light"] .metric-num {
  background: linear-gradient(135deg, var(--blue), var(--violet)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* =========================================================================
   LIGHT THEME CONTRAST & VISIBILITY OVERRIDES
   ========================================================================= */

/* Microsoft Dashboard text names and row borders */
body[data-theme="light"] .ms-service-name {
  color: var(--text) !important;
}
body[data-theme="light"] .ms-service-row {
  border-bottom-color: var(--rim) !important;
}

/* About Checklist Items */
body[data-theme="light"] .about-checklist li {
  color: var(--muted) !important;
}

/* Case Study Outcomes & Solutions elements */
body[data-theme="light"] .case-outcome {
  background: rgba(34,211,238,0.04) !important;
  border-color: rgba(34,211,238,0.2) !important;
}
body[data-theme="light"] .case-outcome-text {
  color: var(--muted) !important;
}

/* Challenge & Solution Cards / Titles / Descriptions */
body[data-theme="light"] .problem-card {
  background: rgba(251,113,133,0.04) !important;
  border-color: rgba(251,113,133,0.15) !important;
}
body[data-theme="light"] .solution-card {
  background: rgba(79,124,255,0.04) !important;
  border-color: rgba(79,124,255,0.18) !important;
}
body[data-theme="light"] .prob-title,
body[data-theme="light"] .sol-title {
  color: var(--text) !important;
}
body[data-theme="light"] .prob-desc,
body[data-theme="light"] .sol-desc {
  color: var(--muted) !important;
}
body[data-theme="light"] .sol-text {
  color: var(--muted) !important;
}

/* Global Step Titles (e.g. services, processes, solutions) */
body[data-theme="light"] .csp-step-title,
body[data-theme="light"] .step-title,
body[data-theme="light"] .approach-step-title,
body[data-theme="light"] .video-step-title,
body[data-theme="light"] .process-step-title {
  color: var(--text) !important;
}

/* Operational Partners Page Cards & Badges */
body[data-theme="light"] .op-card {
  background: var(--abyss) !important;
  border-color: var(--rim) !important;
  box-shadow: var(--shadow-sm) !important;
}
body[data-theme="light"] .op-card:hover {
  background: #FFFFFF !important;
  box-shadow: var(--shadow-md) !important;
}
body[data-theme="light"] .op-name {
  color: var(--text) !important;
}
body[data-theme="light"] .op-module {
  background: var(--void) !important;
  border-color: var(--rim) !important;
  color: var(--dimmed) !important;
}
body[data-theme="light"] .op-card:hover .op-module {
  background: rgba(79,124,255,0.08) !important;
  border-color: rgba(79,124,255,0.2) !important;
  color: var(--text) !important;
}

/* Solutions Page Industry Tabs, Headings, Visual Cards & Tags */
body[data-theme="light"] .ind-tabs-section {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom-color: var(--rim) !important;
}
body[data-theme="light"] .ind-tab {
  color: var(--dimmed) !important;
}
body[data-theme="light"] .ind-tab:hover {
  color: var(--text) !important;
}
body[data-theme="light"] .ind-tab.active {
  color: var(--blue) !important;
}
body[data-theme="light"] .ind-heading {
  color: var(--text) !important;
}
body[data-theme="light"] .ind-visual-card {
  background: var(--abyss) !important;
  border-color: var(--rim) !important;
  box-shadow: none !important;
}
body[data-theme="light"] .ind-visual-card:hover {
  box-shadow: none !important;
}
body[data-theme="light"] .ivc-title {
  color: var(--text) !important;
}
body[data-theme="light"] .ind-tag {
  background: var(--void) !important;
  border-color: var(--rim) !important;
  color: var(--dimmed) !important;
}

/* Solutions Page - Key Solutions list items, labels & technology partners in Light Mode */
body[data-theme="light"] .solutions-label {
  color: var(--dimmed) !important;
}
body[data-theme="light"] .sol-item {
  background: #FFFFFF !important;
  border-color: rgba(79, 124, 255, 0.15) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
}
body[data-theme="light"] .sol-item:hover {
  background: rgba(79, 124, 255, 0.06) !important;
  border-color: rgba(79, 124, 255, 0.25) !important;
}
body[data-theme="light"] .sol-text {
  color: var(--text) !important;
}
body[data-theme="light"] .partners-title {
  color: var(--dimmed) !important;
}
body[data-theme="light"] .partner-pill {
  background: #FFFFFF !important;
  border-color: rgba(79, 124, 255, 0.15) !important;
  color: var(--muted) !important;
}
body[data-theme="light"] .partner-pill:hover {
  background: rgba(79, 124, 255, 0.08) !important;
  border-color: rgba(79, 124, 255, 0.25) !important;
  color: var(--blue) !important;
}

/* Contact Page Cards & Text values */
body[data-theme="light"] .contact-info-card {
  background: var(--abyss) !important;
  border-color: var(--rim) !important;
  box-shadow: var(--shadow-sm) !important;
}
body[data-theme="light"] .contact-info-card:hover {
  background: #FFFFFF !important;
  box-shadow: var(--shadow-md) !important;
  border-color: rgba(79,124,255,0.3) !important;
}
body[data-theme="light"] .contact-info-value {
  color: var(--text) !important;
}
body[data-theme="light"] .contact-details-heading {
  color: var(--text) !important;
}
body[data-theme="light"] .contact-form-wrap {
  background: #FFFFFF !important;
  border-color: rgba(79, 124, 255, 0.15) !important;
  box-shadow: var(--shadow-sm) !important;
}
body[data-theme="light"] .contact-social-btn {
  background: #FFFFFF !important;
  border-color: rgba(79, 124, 255, 0.15) !important;
  color: var(--muted) !important;
  box-shadow: var(--shadow-sm) !important;
}
body[data-theme="light"] .contact-social-btn:hover {
  background: rgba(79, 124, 255, 0.08) !important;
  border-color: var(--blue) !important;
  color: var(--blue) !important;
}
body[data-theme="light"] .how-we-work {
  background: #FFFFFF !important;
  border-color: rgba(79, 124, 255, 0.15) !important;
  box-shadow: var(--shadow-sm) !important;
}
body[data-theme="light"] .how-we-work-title {
  color: var(--dimmed) !important;
}
body[data-theme="light"] .how-step-text {
  color: var(--muted) !important;
}
body[data-theme="light"] .how-step-text strong {
  color: var(--text) !important;
}

/* How We Work Section on Contact Page in Light Mode */
body[data-theme="light"] .hw-section {
  background: var(--void) !important;
  color: var(--text) !important;
}
body[data-theme="light"] .hw-section::before {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08), transparent 70%) !important;
}
body[data-theme="light"] .hw-section::after {
  background: radial-gradient(circle, rgba(34, 211, 238, 0.08), transparent 70%) !important;
}
body[data-theme="light"] .hw-tag {
  color: var(--blue) !important;
  background: rgba(79, 124, 255, 0.08) !important;
  border-color: rgba(79, 124, 255, 0.2) !important;
}
body[data-theme="light"] .hw-tag-dot {
  background: var(--blue) !important;
  box-shadow: 0 0 0 3px rgba(79, 124, 255, 0.2), 0 0 10px rgba(79, 124, 255, 0.4) !important;
}
body[data-theme="light"] .hw-heading {
  color: var(--text) !important;
}
body[data-theme="light"] .hw-sub {
  color: var(--muted) !important;
}
body[data-theme="light"] .hw-steps::before {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.2), rgba(79, 124, 255, 0.45), rgba(99, 102, 241, 0.2)) !important;
  opacity: 0.8 !important;
}
body[data-theme="light"] .hw-node {
  background: linear-gradient(135deg, #4f7cff, #6366f1) !important;
  box-shadow: 0 0 0 6px rgba(79, 124, 255, 0.12), 0 0 0 8px rgba(255, 255, 255, 0.95), 0 14px 28px -8px rgba(79, 124, 255, 0.35) !important;
}
body[data-theme="light"] .hw-card {
  background: #FFFFFF !important;
  border-color: rgba(79, 124, 255, 0.15) !important;
  box-shadow: 0 10px 30px -10px rgba(79, 124, 255, 0.1) !important;
}
body[data-theme="light"] .hw-step:hover .hw-card {
  background: #FFFFFF !important;
  border-color: rgba(79, 124, 255, 0.35) !important;
  box-shadow: 0 20px 40px -12px rgba(79, 124, 255, 0.22) !important;
}
body[data-theme="light"] .hw-ghost {
  -webkit-text-stroke: 1.5px rgba(79, 124, 255, 0.14) !important;
}
body[data-theme="light"] .hw-step-label {
  color: var(--blue) !important;
}
body[data-theme="light"] .hw-title {
  color: var(--text) !important;
}
body[data-theme="light"] .hw-desc {
  color: var(--muted) !important;
}
body[data-theme="light"] .hw-step--final .hw-node {
  background: linear-gradient(135deg, #06b6d4, #4f7cff) !important;
  box-shadow: 0 0 0 6px rgba(6, 182, 212, 0.15), 0 0 0 8px rgba(255, 255, 255, 0.95), 0 14px 28px -8px rgba(6, 182, 212, 0.4) !important;
}
body[data-theme="light"] .hw-step--final .hw-card {
  background: linear-gradient(160deg, rgba(238, 242, 255, 0.7), #FFFFFF) !important;
  border-color: rgba(79, 124, 255, 0.25) !important;
}
body[data-theme="light"] .hw-cta {
  background: linear-gradient(135deg, #4f7cff, #6366f1) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 30px -10px rgba(79, 124, 255, 0.45) !important;
}
body[data-theme="light"] .hw-cta:hover {
  box-shadow: 0 18px 36px -8px rgba(79, 124, 255, 0.65) !important;
}

/* Why choose us sticky panel (light theme glassmorphism blue styling) */
body[data-theme="light"] .why-panel {
  background: rgba(255, 255, 255, 0.8) !important;
  border-color: rgba(79, 124, 255, 0.15) !important;
  box-shadow: var(--shadow-md) !important;
  backdrop-filter: blur(24px) !important;
}
body[data-theme="light"] .why-panel::before {
  background: radial-gradient(ellipse, rgba(79,124,255,0.1), transparent 70%) !important;
}
body[data-theme="light"] .why-panel::after {
  background: radial-gradient(ellipse, rgba(139,92,246,0.08), transparent 70%) !important;
}
body[data-theme="light"] .why-panel h3 {
  color: var(--text) !important;
}
body[data-theme="light"] .why-panel p {
  color: var(--muted) !important;
}
body[data-theme="light"] .why-pstat {
  background: #FFFFFF !important;
  border-color: rgba(79, 124, 255, 0.1) !important;
}
body[data-theme="light"] .why-pstat-num {
  background: linear-gradient(135deg, var(--blue) 30%, var(--violet)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
body[data-theme="light"] .why-pstat-lbl {
  color: var(--dimmed) !important;
}
body[data-theme="light"] .why-panel-divider {
  background: rgba(79, 124, 255, 0.1) !important;
}
body[data-theme="light"] .why-panel-quote {
  color: var(--muted) !important;
  border-left-color: var(--blue) !important;
}

/* Industry served cards on services subpages (light theme card style) */
body[data-theme="light"] .industry-card,
body[data-theme="light"] .industry-cardd {
  background: var(--abyss) !important;
  border-color: var(--rim) !important;
  box-shadow: var(--shadow-sm) !important;
}
body[data-theme="light"] .industry-card:hover,
body[data-theme="light"] .industry-cardd:hover {
  background: #FFFFFF !important;
  box-shadow: var(--shadow-md) !important;
  border-color: rgba(79, 124, 255, 0.3) !important;
}
body[data-theme="light"] .industry-name {
  color: var(--text) !important;
}
body[data-theme="light"] .industry-desc {
  color: var(--muted) !important;
}

/* Why partner cards (light theme card style) */
body[data-theme="light"] .why-card {
  background: var(--abyss) !important;
  border-color: var(--rim) !important;
  box-shadow: var(--shadow-sm) !important;
}
body[data-theme="light"] .why-card:hover {
  background: #FFFFFF !important;
  box-shadow: var(--shadow-md) !important;
  border-color: rgba(79, 124, 255, 0.3) !important;
}
body[data-theme="light"] .why-card-title {
  color: var(--text) !important;
}
body[data-theme="light"] .why-card-desc {
  color: var(--muted) !important;
}

/* Services page visual panel and engagement option cards */
body[data-theme="light"] .services-visual {
  background: rgba(255, 255, 255, 0.8) !important;
  border-color: rgba(79, 124, 255, 0.15) !important;
  box-shadow: var(--shadow-md) !important;
  backdrop-filter: blur(24px) !important;
}
body[data-theme="light"] .engagement-card {
  background: rgba(139, 92, 246, 0.04) !important;
  border-color: rgba(139, 92, 246, 0.18) !important;
}
body[data-theme="light"] .engagement-card:hover {
  background: rgba(139, 92, 246, 0.08) !important;
  border-color: rgba(139, 92, 246, 0.3) !important;
}
body[data-theme="light"] .engagement-title {
  color: var(--text) !important;
}
body[data-theme="light"] .engagement-desc {
  color: var(--muted) !important;
}
body[data-theme="light"] .engagement-icon {
  background: rgba(139, 92, 246, 0.08) !important;
}

/* Service item list titles */
body[data-theme="light"] .service-item-title {
  color: var(--text) !important;
}

/* Managed services page visual panel, tech pills and delivery badges */
body[data-theme="light"] .approach-visual {
  background: var(--abyss) !important;
  border-color: var(--rim) !important;
  box-shadow: var(--shadow-sm) !important;
}
body[data-theme="light"] .tech-pill {
  background: var(--void) !important;
  border-color: var(--rim) !important;
  color: var(--text) !important;
}
body[data-theme="light"] .tech-pill:hover {
  background: rgba(79, 124, 255, 0.08) !important;
  border-color: rgba(79, 124, 255, 0.3) !important;
  color: var(--text) !important;
}
body[data-theme="light"] .approach-visual-divider {
  background: var(--rim) !important;
}
body[data-theme="light"] .delivery-badge {
  background: rgba(79, 124, 255, 0.04) !important;
  border-color: rgba(79, 124, 255, 0.18) !important;
}
body[data-theme="light"] .delivery-badge-icon {
  background: rgba(79, 124, 255, 0.1) !important;
}
body[data-theme="light"] .delivery-badge-title {
  color: var(--text) !important;
}
body[data-theme="light"] .delivery-badge-sub {
  color: var(--muted) !important;
}

/* Build/Consulting cards (light theme card style) */
body[data-theme="light"] .build-card {
  background: var(--abyss) !important;
  border-color: var(--rim) !important;
  box-shadow: var(--shadow-sm) !important;
}
body[data-theme="light"] .build-card:hover {
  background: #FFFFFF !important;
  box-shadow: var(--shadow-md) !important;
  border-color: rgba(79, 124, 255, 0.3) !important;
}
body[data-theme="light"] .build-title {
  color: var(--text) !important;
}
body[data-theme="light"] .build-desc {
  color: var(--muted) !important;
}

/* AI video page process visual panel, advantages list and formats tags */
body[data-theme="light"] .process-visual {
  background: var(--abyss) !important;
  border-color: var(--rim) !important;
  box-shadow: var(--shadow-sm) !important;
}
body[data-theme="light"] .advantage-item {
  background: rgba(139, 92, 246, 0.04) !important;
  border-color: rgba(139, 92, 246, 0.18) !important;
}
body[data-theme="light"] .advantage-item:hover {
  background: rgba(139, 92, 246, 0.08) !important;
  border-color: rgba(139, 92, 246, 0.3) !important;
}
body[data-theme="light"] .adv-title {
  color: var(--text) !important;
}
body[data-theme="light"] .adv-sub {
  color: var(--muted) !important;
}
body[data-theme="light"] .adv-icon {
  background: rgba(139, 92, 246, 0.08) !important;
}
body[data-theme="light"] .pv-divider {
  background: var(--rim) !important;
}
body[data-theme="light"] .format-tag {
  background: var(--void) !important;
  border-color: var(--rim) !important;
  color: var(--text) !important;
}
body[data-theme="light"] .format-tag:hover {
  background: rgba(139, 92, 246, 0.08) !important;
  border-color: rgba(139, 92, 246, 0.3) !important;
  color: var(--text) !important;
}

/* Partners page sliding marquee band & items */
body[data-theme="light"] .partners-band {
  background: var(--void) !important;
  border-top-color: var(--rim) !important;
  border-bottom-color: var(--rim) !important;
}
body[data-theme="light"] .marquee-item {
  color: var(--dimmed) !important;
  border-right-color: var(--rim) !important;
}
body[data-theme="light"] .marquee-item:hover {
  color: var(--blue) !important;
}

/* Homepage logo strip section overrides */
body[data-theme] .logo-strip-section {
  transition: background 0.3s ease, border-color 0.3s ease;
}
body[data-theme] .strip-item {
  transition: color 0.3s ease;
}
body[data-theme="light"] .logo-strip-section {
  background: var(--abyss) !important;
  border-top-color: var(--rim) !important;
  border-bottom-color: var(--rim) !important;
}
body[data-theme="light"] .logo-strip-section::before {
  background: linear-gradient(90deg, var(--abyss), transparent) !important;
}
body[data-theme="light"] .logo-strip-section::after {
  background: linear-gradient(-90deg, var(--abyss), transparent) !important;
}
body[data-theme="light"] .strip-item {
  color: var(--dimmed) !important;
}
body[data-theme="light"] .strip-item:hover {
  color: var(--blue) !important;
}

/* Services background override for light theme */
body[data-theme] .services-bg {
  transition: background 0.3s ease;
}
body[data-theme="light"] .services-bg {
  background: var(--abyss) !important;
}

/* AI Video section light theme overrides */
body[data-theme] .aivid-wrap {
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
body[data-theme] .aivid-mockup,
body[data-theme] .aivid-timeline,
body[data-theme] .av-item {
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}
body[data-theme="light"] .aivid-wrap {
  background: var(--abyss) !important;
  border-color: var(--rim) !important;
  box-shadow: var(--shadow-md) !important;
}
body[data-theme="light"] .aivid-wrap .section-tag {
  color: var(--blue) !important;
}
body[data-theme="light"] .aivid-wrap .section-h2 {
  color: var(--text) !important;
}
body[data-theme="light"] .aivid-wrap .section-sub {
  color: var(--muted) !important;
}
body[data-theme="light"] .aivid-mockup {
  background: #FFFFFF !important;
  border-color: var(--rim) !important;
  box-shadow: var(--shadow-sm) !important;
}
body[data-theme="light"] .aivid-timeline {
  background: var(--void) !important;
  border-color: var(--rim) !important;
}
body[data-theme="light"] .av-item {
  background: var(--void) !important;
  border-color: var(--rim) !important;
  color: var(--text) !important;
}
body[data-theme="light"] .av-item:hover {
  background: rgba(79, 124, 255, 0.08) !important;
  border-color: rgba(79, 124, 255, 0.22) !important;
  color: var(--blue) !important;
}

/* Industry Cards Light Theme overrides */
body[data-theme] .ind-card {
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
body[data-theme] .ind-bg-emoji {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
body[data-theme] .ind-reveal {
  transition: opacity 0.3s ease, backdrop-filter 0.3s ease;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
}
body[data-theme] .ind-reveal p {
  margin-bottom: auto !important;
}
body[data-theme="light"] .ind-card {
  box-shadow: var(--shadow-sm) !important;
}
body[data-theme="light"] .ind-card:hover {
  box-shadow: var(--shadow-lg) !important;
}
body[data-theme="light"] .ind-card:nth-child(1) { background: rgba(79, 124, 255, 0.05) !important; border-color: rgba(79, 124, 255, 0.12) !important; }
body[data-theme="light"] .ind-card:nth-child(2) { background: rgba(99, 102, 241, 0.05) !important; border-color: rgba(99, 102, 241, 0.12) !important; }
body[data-theme="light"] .ind-card:nth-child(3) { background: rgba(20, 184, 166, 0.05) !important; border-color: rgba(20, 184, 166, 0.12) !important; }
body[data-theme="light"] .ind-card:nth-child(4) { background: rgba(245, 158, 11, 0.05) !important; border-color: rgba(245, 158, 11, 0.12) !important; }
body[data-theme="light"] .ind-card:nth-child(5) { background: rgba(139, 92, 246, 0.05) !important; border-color: rgba(139, 92, 246, 0.12) !important; }

body[data-theme="light"] .ind-bg-emoji {
  opacity: 0.12 !important;
}
body[data-theme="light"] .ind-card:hover .ind-bg-emoji {
  opacity: 0.22 !important;
}
body[data-theme="light"] .ind-content {
  background: transparent !important;
}
body[data-theme="light"] .ind-name {
  color: var(--text) !important;
}
body[data-theme="light"] .ind-reveal {
  background: linear-gradient(135deg, var(--blue), var(--violet)) !important;
}
body[data-theme="light"] .ind-reveal h4 {
  color: #FFFFFF !important;
}
body[data-theme="light"] .ind-reveal p {
  color: rgba(255, 255, 255, 0.95) !important;
}
body[data-theme="light"] .ind-reveal-cta {
  color: #FFFFFF !important;
  opacity: 1 !important;
}

/* CTA Section Light Theme overrides */
body[data-theme] .cta-wrap {
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
body[data-theme="light"] .cta-wrap,
body[data-theme="light"] .cta-section-wrap {
  background: var(--abyss) !important;
  border-color: var(--rim) !important;
  box-shadow: var(--shadow-md) !important;
}
body[data-theme="light"] .cta-wrap h2,
body[data-theme="light"] .cta-section-wrap h2 {
  color: var(--text) !important;
}
body[data-theme="light"] .cta-wrap p,
body[data-theme="light"] .cta-section-wrap p {
  color: var(--muted) !important;
}

/* Light Theme White Button overrides */
body[data-theme="light"] .btn-white {
  background: #FFFFFF !important;
  color: var(--text) !important;
  border: 1px solid rgba(79, 124, 255, 0.22) !important;
  box-shadow: var(--shadow-sm) !important;
}
body[data-theme="light"] .btn-white:hover {
  background: var(--void) !important;
  box-shadow: var(--shadow-md) !important;
  color: var(--blue) !important;
}

/* Page Intro & Story Section Light Theme overrides */
body[data-theme] .page-intro,
body[data-theme] .story-section {
  transition: background 0.3s ease;
}
body[data-theme="light"] .page-intro,
body[data-theme="light"] .story-section {
  background: var(--abyss) !important;
}
body[data-theme="light"] .pi-photo-a,
body[data-theme="light"] .pi-photo-b,
body[data-theme="light"] .pi-photo-a:hover,
body[data-theme="light"] .pi-photo-b:hover {
  box-shadow: none !important;
}

/* Story Section Overlapping Cards & Stats Badge overrides */
body[data-theme] .wwa-c1,
body[data-theme] .wwa-c2,
body[data-theme] .wwa-stat {
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
body[data-theme="light"] .wwa-c1,
body[data-theme="light"] .wwa-c2,
body[data-theme="light"] .wwa-c1:hover,
body[data-theme="light"] .wwa-c2:hover,
body[data-theme="light"] .wwa-stat {
  box-shadow: none !important;
}
body[data-theme="light"] .wwa-stat {
  background: rgba(255, 255, 255, 0.85) !important;
  border-color: rgba(79, 124, 255, 0.22) !important;
  color: var(--text) !important;
}
body[data-theme="light"] .wwa-stat-num {
  background: linear-gradient(135deg, var(--blue), var(--violet)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
body[data-theme="light"] .wwa-stat-lbl {
  color: var(--muted) !important;
}
body[data-theme="light"] .wwa-stat-icon {
  background: rgba(79, 124, 255, 0.08) !important;
  border-color: rgba(79, 124, 255, 0.22) !important;
}

/* Checklist Text Light Theme overrides */
body[data-theme="light"] .checklist li,
body[data-theme="light"] .about-checklist li {
  color: var(--muted) !important;
}

/* Solution Pillars Section Light Theme overrides */
body[data-theme] .pillars-section {
  transition: background 0.3s ease;
}
body[data-theme] .pillar-card {
  transition: transform 0.45s var(--ease-expo), border-color 0.45s var(--ease-expo), box-shadow 0.45s var(--ease-expo), background-color 0.3s ease;
}
body[data-theme="light"] .pillars-section {
  background: var(--abyss) !important;
}
body[data-theme="light"] .pillar-card {
  background: rgba(255, 255, 255, 0.85) !important;
  border-color: rgba(79, 124, 255, 0.15) !important;
  box-shadow: var(--shadow-sm) !important;
}
body[data-theme="light"] .pillar-card:hover {
  background: #FFFFFF !important;
  border-color: rgba(79, 124, 255, 0.3) !important;
  box-shadow: 0 20px 50px rgba(79, 124, 255, 0.06) !important;
}
body[data-theme="light"] .pillar-card h3 {
  color: var(--text) !important;
}
body[data-theme="light"] .pillar-card:hover h3 {
  color: var(--blue) !important;
}

/* Portfolio Overview Section Light Theme overrides */
body[data-theme] .portfolio-section,
body[data-theme] .portfolio-inner {
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
body[data-theme] .pnum-card,
body[data-theme] .cat-badge {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.35s var(--ease-expo), box-shadow 0.35s var(--ease-expo);
}
body[data-theme="light"] .portfolio-section,
body[data-theme="light"] .portfolio-inner {
  background: var(--abyss) !important;
}
body[data-theme="light"] .portfolio-inner {
  border-color: var(--rim) !important;
  box-shadow: var(--shadow-md) !important;
}
body[data-theme="light"] .cat-badge {
  color: var(--text) !important;
  background: rgba(79, 124, 255, 0.08) !important;
  border-color: rgba(79, 124, 255, 0.18) !important;
}
body[data-theme="light"] .cat-badge:hover {
  color: #FFFFFF !important;
  background: var(--blue) !important;
  border-color: var(--blue) !important;
}
body[data-theme="light"] .pnum-card {
  background: rgba(255, 255, 255, 0.85) !important;
  border-color: rgba(79, 124, 255, 0.15) !important;
  box-shadow: var(--shadow-sm) !important;
}
body[data-theme="light"] .pnum-card:hover {
  background: #FFFFFF !important;
  border-color: rgba(79, 124, 255, 0.3) !important;
  box-shadow: 0 15px 45px rgba(79, 124, 255, 0.06) !important;
}
body[data-theme="light"] .pnum {
  background: linear-gradient(135deg, var(--blue), var(--violet)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
body[data-theme="light"] .pnum-label {
  color: var(--muted) !important;
}

/* Timeline Section Light Theme overrides */
body[data-theme] .htl-section {
  transition: background 0.3s ease;
}
body[data-theme] .htl-card {
  transition: transform 0.45s var(--ease-expo), box-shadow 0.45s var(--ease-expo), background-color 0.3s ease, border-color 0.3s ease;
}
body[data-theme="light"] .htl-section {
  background: var(--abyss) !important;
}
body[data-theme="light"] .htl-card {
  background: rgba(255, 255, 255, 0.85) !important;
  border-color: rgba(79, 124, 255, 0.15) !important;
  box-shadow: var(--shadow-sm) !important;
}
body[data-theme="light"] .htl-card:hover {
  background: #FFFFFF !important;
  border-color: var(--accent) !important;
  box-shadow: 0 10px 30px rgba(79, 124, 255, 0.08) !important;
}
body[data-theme="light"] .htl-year {
  text-shadow: none !important;
}
body[data-theme="light"] .htl-img {
  background: color-mix(in srgb, var(--accent) 8%, rgba(0, 0, 0, 0.02)) !important;
  border-color: color-mix(in srgb, var(--accent) 18%, transparent) !important;
  box-shadow: none !important;
}
body[data-theme="light"] .htl-img svg {
  filter: none !important;
}
body[data-theme="light"] .htl-card:hover .htl-img svg {
  filter: none !important;
}
body[data-theme="light"] .htl-title {
  color: var(--text) !important;
}
body[data-theme="light"] .htl-desc {
  color: var(--muted) !important;
}
body[data-theme="light"] .htl-stat {
  color: color-mix(in srgb, var(--accent) 80%, var(--text)) !important;
}
body[data-theme="light"] .htl-badge {
  color: var(--text) !important;
}

/* Footer Light Theme overrides */
body[data-theme] footer {
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
body[data-theme] .footer-grid {
  transition: border-color 0.3s ease;
}
body[data-theme] .footer-logo,
body[data-theme] .footer-tagline,
body[data-theme] .footer-col h4,
body[data-theme] .footer-links a,
body[data-theme] .social-btn,
body[data-theme] .footer-copy,
body[data-theme] .footer-legal a,
body[data-theme] .contact-info h4,
body[data-theme] .contact-info p,
body[data-theme] .nl-form p {
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

body[data-theme="light"] footer {
  background: var(--abyss) !important;
}
body[data-theme="light"] .footer-grid {
  border-bottom-color: var(--rim) !important;
}
body[data-theme="light"] .footer-logo {
  color: var(--text) !important;
}
body[data-theme="light"] .footer-tagline {
  color: var(--muted) !important;
}
body[data-theme="light"] .social-btn {
  background: var(--void) !important;
  border-color: var(--rim) !important;
  color: var(--muted) !important;
}
body[data-theme="light"] .social-btn:hover {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
  color: white !important;
}
body[data-theme="light"] .footer-col h4,
body[data-theme="light"] .contact-info h4 {
  color: var(--text) !important;
}
body[data-theme="light"] .footer-links a {
  color: var(--muted) !important;
}
body[data-theme="light"] .footer-links a:hover {
  color: var(--blue) !important;
}
body[data-theme="light"] .footer-links.ft-services a .ft-chip {
  color: #6B6DFA !important;
  background: rgba(107, 109, 250, 0.08) !important;
  border-color: rgba(107, 109, 250, 0.22) !important;
}
body[data-theme="light"] .footer-links.ft-services a:hover .ft-chip {
  color: #ffffff !important;
  background: #6B6DFA !important;
  border-color: #6B6DFA !important;
}
body[data-theme="light"] .nl-form p {
  color: var(--muted) !important;
}
body[data-theme="light"] .footer-copy {
  color: var(--dimmed) !important;
}
body[data-theme="light"] .footer-legal a {
  color: var(--dimmed) !important;
}
body[data-theme="light"] .footer-legal a:hover {
  color: var(--blue) !important;
}
body[data-theme="light"] .contact-info p {
  color: var(--muted) !important;
}
body[data-theme="light"] .ft-pill {
  color: var(--text) !important;
  background: #f8fafc !important;
  border-color: rgba(79, 124, 255, 0.18) !important;
}
body[data-theme="light"] .ft-pill:hover {
  color: var(--blue) !important;
  border-color: var(--blue) !important;
  background: #ffffff !important;
}
body[data-theme="light"] .ft-office {
  background: #f8fafc !important;
  border-color: rgba(79, 124, 255, 0.14) !important;
}
body[data-theme="light"] .ft-office:hover {
  background: #ffffff !important;
  border-color: rgba(79, 124, 255, 0.35) !important;
}
body[data-theme="light"] .ft-flag {
  background: #ffffff !important;
  border-color: rgba(79, 124, 255, 0.2) !important;
  color: var(--text) !important;
}
body[data-theme="light"] .ft-office-label {
  color: #6B6DFA !important;
}
body[data-theme="light"] .ft-office-addr {
  color: #475569 !important;
}

/* Partners page Microsoft visual panel and products */
body[data-theme="light"] .ms-visual {
  background: rgba(255, 255, 255, 0.8) !important;
  border-color: rgba(79, 124, 255, 0.15) !important;
  box-shadow: var(--shadow-md) !important;
  backdrop-filter: blur(24px) !important;
}
body[data-theme="light"] .ms-visual::before {
  background: radial-gradient(ellipse, rgba(79,124,255,0.1), transparent 70%) !important;
}
body[data-theme="light"] .ms-cert-badge {
  background: var(--void) !important;
  border-color: var(--rim) !important;
  color: var(--text) !important;
}
body[data-theme="light"] .ms-cert-badge:hover {
  background: rgba(79, 124, 255, 0.08) !important;
  border-color: rgba(79, 124, 255, 0.3) !important;
  color: var(--text) !important;
}
body[data-theme="light"] .ms-divider {
  background: var(--rim) !important;
}
body[data-theme="light"] .ms-why-title {
  color: var(--text) !important;
}
body[data-theme="light"] .ms-why-desc {
  color: var(--muted) !important;
}
body[data-theme="light"] .ms-why-icon {
  background: rgba(79, 124, 255, 0.08) !important;
  border: 1px solid rgba(79, 124, 255, 0.15) !important;
}
body[data-theme="light"] .ms-product {
  background: var(--abyss) !important;
  border-color: var(--rim) !important;
}
body[data-theme="light"] .ms-product:hover {
  background: #FFFFFF !important;
  border-color: rgba(79, 124, 255, 0.3) !important;
  box-shadow: var(--shadow-sm) !important;
}
body[data-theme="light"] .ms-product-title {
  color: var(--text) !important;
}
body[data-theme="light"] .ms-product-icon {
  background: rgba(79, 124, 255, 0.08) !important;
  border: 1px solid rgba(79, 124, 255, 0.15) !important;
}

/* Partners page CSP licensing section */
body[data-theme="light"] .benefit-card {
  background: var(--abyss) !important;
  border-color: var(--rim) !important;
  box-shadow: var(--shadow-sm) !important;
}
body[data-theme="light"] .benefit-card:hover {
  background: #FFFFFF !important;
  border-color: rgba(34, 211, 238, 0.3) !important;
  box-shadow: var(--shadow-md) !important;
}
body[data-theme="light"] .benefit-title {
  color: var(--text) !important;
}
body[data-theme="light"] .csp-products-wrap {
  background: rgba(255, 255, 255, 0.8) !important;
  border-color: rgba(79, 124, 255, 0.15) !important;
  box-shadow: var(--shadow-md) !important;
  backdrop-filter: blur(24px) !important;
}
body[data-theme="light"] .csp-product-item {
  background: var(--void) !important;
  border-color: var(--rim) !important;
  color: var(--text) !important;
}
body[data-theme="light"] .csp-product-item:hover {
  background: rgba(79, 124, 255, 0.08) !important;
  border-color: rgba(79, 124, 255, 0.22) !important;
  color: var(--text) !important;
}
body[data-theme="light"] .csp-step {
  border-bottom-color: var(--rim) !important;
}

/* Services ERP-CRM Page Platform Section & Visual options */
body[data-theme="light"] .platform-card {
  background: var(--abyss) !important;
  border-color: var(--rim) !important;
  box-shadow: var(--shadow-sm) !important;
}
body[data-theme="light"] .platform-card:hover {
  background: #FFFFFF !important;
  border-color: rgba(79, 124, 255, 0.3) !important;
  box-shadow: var(--shadow-md) !important;
}
body[data-theme="light"] .platform-name {
  color: var(--text) !important;
}
body[data-theme="light"] .platform-module {
  background: var(--void) !important;
  border-color: var(--rim) !important;
  color: var(--text) !important;
}
body[data-theme="light"] .platform-card:hover .platform-module {
  background: rgba(79, 124, 255, 0.08) !important;
  border-color: rgba(79, 124, 255, 0.2) !important;
  color: var(--text) !important;
}
body[data-theme="light"] .visual-divider {
  background: var(--rim) !important;
}
body[data-theme="light"] .risk-banner {
  background: rgba(251, 113, 133, 0.04) !important;
  border-color: rgba(251, 113, 133, 0.15) !important;
}

/* =========================================================================
   SCROLLBAR & CURSOR CUSTOMIZATIONS
   ========================================================================= */

/* Scrollbar customization */
body[data-theme] ::-webkit-scrollbar-track {
  background: var(--void) !important;
}
body[data-theme] ::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--blue), var(--violet)) !important;
}

/* Custom Cursor overrides */
body[data-theme] #cursor-ring {
  border-color: var(--cursor-ring-color) !important;
}
body[data-theme] #cursor-dot {
  background: var(--cursor-dot-color) !important;
}

/* =========================================================================
   FRONTEND THEME TOGGLE BUTTON
   ========================================================================= */
.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--nav-border);
  color: var(--nav-text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  position: relative;
  overflow: hidden;
  margin-left: 16px;
  vertical-align: middle;
}

.theme-toggle-btn:hover {
  background: var(--btn-ghost-bg);
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
}

.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  position: absolute;
}

/* Hide moon in dark theme, show sun (because theme is dark, clicking sun switches to light) */
body[data-theme="dark"] .theme-toggle-btn .sun-icon {
  opacity: 1;
  transform: rotate(0) scale(1);
}
body[data-theme="dark"] .theme-toggle-btn .moon-icon {
  opacity: 0;
  transform: rotate(-45deg) scale(0.5);
}

/* Hide sun in light theme, show moon (because theme is light, clicking moon switches to dark) */
body[data-theme="light"] .theme-toggle-btn .sun-icon {
  opacity: 0;
  transform: rotate(45deg) scale(0.5);
}
body[data-theme="light"] .theme-toggle-btn .moon-icon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* Navbar right actions container */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 10002;
}
.nav-actions .theme-toggle-btn {
  margin-left: 0 !important;
}

/* Ensure mobile navbar theme toggle is always visible and perfectly sized */
@media (max-width: 1024px) {
  .nav-theme-toggle {
    display: inline-flex !important;
    width: 38px !important;
    height: 38px !important;
  }
}
@media (max-width: 480px) {
  .nav-theme-toggle {
    width: 35px !important;
    height: 35px !important;
  }
  .nav-actions {
    gap: 8px !important;
  }
}

/* Mobile drawer header actions */
.mmenu-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mmenu-actions .theme-toggle-btn {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  margin: 0 !important;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}
body[data-theme="light"] .mmenu-actions .theme-toggle-btn {
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.08);
}

/* Mobile drawer menu body - Appearance Theme Row */
.mmenu-theme-row {
  width: 100%;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: transparent;
  border: 1px solid transparent;
  border-left: 3px solid transparent;
  padding: 10px 12px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(238,242,255,0.7);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  box-sizing: border-box;
}
.mmenu-theme-row:hover,
.mmenu-theme-row:active {
  background: rgba(79,124,255,0.1);
  color: white;
}
.mmenu-theme-row .mnl-text {
  flex: 1;
}
.mmenu-theme-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

body[data-theme="dark"] .mmenu-theme-pill,
body:not([data-theme="light"]) .mmenu-theme-pill {
  background: rgba(79,124,255,0.18);
  border: 1px solid rgba(79,124,255,0.35);
  color: var(--cyan);
}
body[data-theme="dark"] .mmenu-theme-pill::after,
body:not([data-theme="light"]) .mmenu-theme-pill::after {
  content: 'Dark 🌙';
}

body[data-theme="light"] .mmenu-theme-row {
  color: #374151;
}
body[data-theme="light"] .mmenu-theme-row:hover,
body[data-theme="light"] .mmenu-theme-row:active {
  background: rgba(79,124,255,0.08);
  color: #111827;
}
body[data-theme="light"] .mmenu-theme-pill {
  background: rgba(79,124,255,0.12);
  border: 1px solid rgba(79,124,255,0.25);
  color: #2563EB;
}
body[data-theme="light"] .mmenu-theme-pill::after {
  content: 'Light ☀️';
}

/* =========================================================================
   LIGHT MODE HOVER OVERRIDES FOR SERVICES CARDS
   ========================================================================= */
body[data-theme="light"] .svc-card:hover .svc-title,
body[data-theme="light"] .svc-card:hover h3,
body[data-theme="light"] .svc-card:hover .svc-link {
  color: #111827 !important;
}

body[data-theme="light"] .svc-card:hover .svc-feature {
  color: #374151 !important;
  background: rgba(79, 124, 255, 0.08) !important;
  border-color: rgba(79, 124, 255, 0.2) !important;
}

body[data-theme="light"] .svc-card:hover .svc-arrow {
  color: #111827 !important;
}

/* Light theme overrides for wide card visual item headers */
body[data-theme="light"] .svc-visual-item {
  background: rgba(79, 124, 255, 0.04) !important;
  border-color: rgba(79, 124, 255, 0.1) !important;
}

body[data-theme="light"] .svc-visual-item strong {
  color: #111827 !important;
}

body[data-theme="light"] .svc-card:hover .svc-visual-item {
  background: rgba(79, 124, 255, 0.08) !important;
  border-color: rgba(79, 124, 255, 0.2) !important;
}

body[data-theme="light"] .svc-card:hover .svc-visual-item strong {
  color: #111827 !important;
}

/* =========================================================================
   LIGHT MODE OVERRIDES FOR AI AUTOMATION VIDEO LIST ITEMS
   ========================================================================= */
body[data-theme="light"] .video-list-item {
  background: var(--abyss) !important;
  border-color: var(--rim) !important;
  box-shadow: var(--shadow-sm) !important;
}

body[data-theme="light"] .video-list-item:hover {
  background: #FFFFFF !important;
  border-color: rgba(79, 124, 255, 0.3) !important;
  box-shadow: var(--shadow-md) !important;
}

body[data-theme="light"] .vli-title {
  color: var(--text) !important;
}

body[data-theme="light"] .vli-desc {
  color: var(--muted) !important;
}

/* =========================================================================
   LIGHT MODE OVERRIDES FOR COMPARISON SECTION (AI VIDEO PRODUCTION)
   ========================================================================= */
body[data-theme="light"] .compare-col {
  background: var(--void) !important;
  border-color: var(--rim) !important;
}

body[data-theme="light"] .compare-col.highlight {
  background: rgba(139, 92, 246, 0.04) !important;
  border-color: rgba(139, 92, 246, 0.25) !important;
}

body[data-theme="light"] .compare-col-title {
  color: var(--text) !important;
}

body[data-theme="light"] .badge-traditional {
  background: rgba(0, 0, 0, 0.05) !important;
  color: var(--muted) !important;
}

body[data-theme="light"] .check-no {
  background: rgba(0, 0, 0, 0.05) !important;
  color: var(--dimmed) !important;
}

/* =========================================================================
   LIGHT MODE OVERRIDES FOR CASE STUDIES & SINGLE CASE STUDY DETAIL PAGES
   ========================================================================= */
body[data-theme="light"] .case-title {
  color: var(--text) !important;
}

body[data-theme="light"] .case-client {
  color: var(--muted) !important;
}

body[data-theme="light"] .case-summary {
  color: var(--muted) !important;
}

body[data-theme="light"] .case-tag {
  background: var(--void) !important;
  border-color: var(--rim2) !important;
  color: var(--muted) !important;
}

body[data-theme="light"] .case-card:hover .case-tag {
  background: rgba(79, 124, 255, 0.08) !important;
  border-color: rgba(79, 124, 255, 0.22) !important;
  color: var(--text) !important;
}

body[data-theme="light"] .case-footer {
  border-top-color: var(--rim) !important;
}

/* Sidebar Widget styling in Light Mode */
body[data-theme="light"] .bd-sidebar-widget {
  background: var(--abyss) !important;
  border-color: var(--rim) !important;
  box-shadow: var(--shadow-md) !important;
}

body[data-theme="light"] .bd-sidebar-title {
  color: var(--text) !important;
}

body[data-theme="light"] .bd-sidebar-widget table tr {
  border-bottom-color: var(--rim) !important;
}

body[data-theme="light"] .bd-sidebar-widget td[style*="color: #fff"],
body[data-theme="light"] .bd-sidebar-widget td[style*="color:#fff"] {
  color: var(--text) !important;
}

body[data-theme="light"] .category-filter-item {
  background: var(--void) !important;
  border-color: var(--rim2) !important;
  color: var(--muted) !important;
}

body[data-theme="light"] .category-filter-item:hover {
  background: rgba(79, 124, 255, 0.08) !important;
  border-color: rgba(79, 124, 255, 0.22) !important;
  color: var(--text) !important;
}

body[data-theme="light"] .category-filter-item.active {
  background: linear-gradient(135deg, var(--blue), var(--violet)) !important;
  color: white !important;
}

body[data-theme="light"] .category-count {
  background: rgba(0, 0, 0, 0.05) !important;
  color: var(--dimmed) !important;
}

body[data-theme="light"] .category-filter-item.active .category-count {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #FFFFFF !important;
}

body[data-theme="light"] .bd-sidebar-widget ul li {
  border-bottom-color: var(--rim) !important;
}

/* Inline Metrics Stats inside Case Study detail */
body[data-theme="light"] .bd-stats-inline {
  background: var(--abyss) !important;
  border-color: var(--rim) !important;
  box-shadow: var(--shadow-sm) !important;
}

body[data-theme="light"] .bd-stat-item {
  background: var(--void) !important;
  border-color: var(--rim2) !important;
}

body[data-theme="light"] .bd-stat-item:hover {
  border-color: rgba(79, 124, 255, 0.25) !important;
}

body[data-theme="light"] .bd-stats-inline .bd-stat-num {
  background: linear-gradient(135deg, var(--text) 30%, var(--violet) 100%) !important;
  -webkit-text-fill-color: transparent !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

body[data-theme="light"] .bd-stats-inline .bd-stat-label {
  color: var(--muted) !important;
}

body[data-theme="light"] .case-detail-section {
  border-top-color: var(--rim) !important;
}

/* Related Case Studies Cards at the bottom */
body[data-theme="light"] .blog-card {
  background: var(--abyss) !important;
  border-color: var(--rim) !important;
  box-shadow: var(--shadow-sm) !important;
}

body[data-theme="light"] .blog-card:hover {
  background: #FFFFFF !important;
  border-color: rgba(79, 124, 255, 0.3) !important;
  box-shadow: var(--shadow-md) !important;
}

body[data-theme="light"] .blog-card p {
  color: var(--muted) !important;
}

body[data-theme="light"] .blog-card:hover h3 {
  color: var(--blue) !important;
}

body[data-theme="light"] .blog-card-footer {
  border-top-color: var(--rim) !important;
}

/* Results Strip / Cards & Numbers overrides in Light Mode */
body[data-theme="light"] .result-card {
  background: var(--abyss) !important;
  border-color: var(--rim) !important;
  box-shadow: var(--shadow-sm) !important;
}

body[data-theme="light"] .result-card:hover {
  background: #FFFFFF !important;
  border-color: rgba(79, 124, 255, 0.3) !important;
  box-shadow: var(--shadow-md) !important;
}

body[data-theme="light"] .result-num {
  background: linear-gradient(135deg, var(--text) 30%, var(--blue) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

body[data-theme="light"] .result-label {
  color: var(--muted) !important;
}

/* Resources Category Tab Buttons (tab-btn) in Light Mode */
body[data-theme="light"] .tab-btn {
  background: #FFFFFF !important;
  border-color: rgba(79, 124, 255, 0.2) !important;
  color: var(--text) !important;
}

body[data-theme="light"] .tab-btn:hover {
  background: #FFFFFF !important;
  border-color: var(--blue) !important;
  color: var(--blue) !important;
}

body[data-theme="light"] .tab-btn.active {
  background: linear-gradient(135deg, var(--blue), var(--violet)) !important;
  color: white !important;
  border-color: transparent !important;
  box-shadow: 0 4px 20px rgba(79, 124, 255, 0.25) !important;
}

/* Whitepaper Cards (.wp-card) in Light Mode */
body[data-theme="light"] .wp-card {
  background: var(--abyss) !important;
  border-color: var(--rim) !important;
  box-shadow: var(--shadow-sm) !important;
}

body[data-theme="light"] .wp-card:hover {
  background: #FFFFFF !important;
  border-color: rgba(79, 124, 255, 0.3) !important;
  box-shadow: var(--shadow-md) !important;
}

body[data-theme="light"] .wp-card h3 {
  color: var(--text) !important;
}

body[data-theme="light"] .wp-card p {
  color: var(--muted) !important;
}

body[data-theme="light"] .wp-download {
  color: var(--blue) !important;
  border-top-color: var(--rim) !important;
}

body[data-theme="light"] .wp-card:hover .wp-download {
  color: var(--violet) !important;
}

/* Video Cards (.video-card) in Light Mode */
body[data-theme="light"] .video-card {
  background: var(--abyss) !important;
  border-color: var(--rim) !important;
  box-shadow: var(--shadow-sm) !important;
}

body[data-theme="light"] .video-card:hover {
  background: #FFFFFF !important;
  border-color: rgba(79, 124, 255, 0.3) !important;
  box-shadow: var(--shadow-md) !important;
}

body[data-theme="light"] .video-body h3 {
  color: var(--text) !important;
}

body[data-theme="light"] .video-body p {
  color: var(--muted) !important;
}

/* Solutions Page Industry Tabs: Keep labels visible and scrollable on mobile */
body[data-theme="light"] .ind-tab {
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}
body[data-theme="light"] .ind-tab .tab-label {
  display: inline-block !important;
  font-size: 0.8rem !important;
}

/* =========================================================================
   LIGHT THEME HERO SECTION OVERRIDES
   ========================================================================= */
body[data-theme="light"] .hero-section {
  background:
    radial-gradient(ellipse 80% 70% at 60% 30%, rgba(79,124,255,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(139,92,246,0.06) 0%, transparent 50%),
    linear-gradient(135deg, var(--void) 0%, var(--abyss) 40%, #E0E7FF 100%) !important;
}

body[data-theme="light"] .hero-badge {
  background: rgba(79,124,255,0.08) !important;
  border-color: rgba(79,124,255,0.2) !important;
  color: var(--blue) !important;
}

body[data-theme="light"] .hero-glass-card {
  background: rgba(255,255,255,0.6) !important;
  border-color: rgba(79,124,255,0.12) !important;
  box-shadow: 0 30px 90px rgba(79,124,255,0.12), inset 0 1px 0 rgba(255,255,255,0.8), 0 0 60px rgba(79,124,255,0.04) !important;
}

body[data-theme="light"] .video-bottom-bar {
  background: rgba(0,0,0,0.03) !important;
}

body[data-theme="light"] .vid-bar {
  background: rgba(0,0,0,0.08) !important;
}

body[data-theme="light"] .hero-chip {
  background: rgba(255,255,255,0.9) !important;
  border-color: rgba(79,124,255,0.15) !important;
  color: var(--text) !important;
  box-shadow: 0 10px 30px rgba(79,124,255,0.1), inset 0 1px 0 rgba(255,255,255,0.8) !important;
}

/* Solutions Page Hero overrides if applicable */
body[data-theme="light"] .hero {
  background: var(--void) !important;
}

/* =========================================================================
   LIGHT THEME DROPDOWN MENU OVERRIDES
   ========================================================================= */
body[data-theme="light"] .dropdown-menu {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(79, 124, 255, 0.15) !important;
  box-shadow: 0 24px 64px rgba(79, 124, 255, 0.12), 0 0 0 1px rgba(79, 124, 255, 0.04) !important;
}

body[data-theme="light"] .dropdown-menu::after {
  background: rgba(255, 255, 255, 0.96) !important;
  border-top-color: rgba(79, 124, 255, 0.15) !important;
  border-left-color: rgba(79, 124, 255, 0.15) !important;
}

body[data-theme="light"] .dropdown-menu a {
  color: #374151 !important;
}

body[data-theme="light"] .dropdown-menu a:hover {
  background: rgba(79, 124, 255, 0.08) !important;
  color: #4F7CFF !important;
}

body[data-theme="light"] .dropdown-menu a .dd-icon {
  background: rgba(79, 124, 255, 0.05) !important;
  border-color: rgba(79, 124, 255, 0.1) !important;
}

body[data-theme="light"] .dropdown-menu a:hover .dd-icon {
  background: rgba(79, 124, 255, 0.15) !important;
  border-color: rgba(79, 124, 255, 0.3) !important;
}

body[data-theme="light"] .dropdown-divider {
  background: rgba(79, 124, 255, 0.08) !important;
}

body[data-theme="light"] .dropdown-arrow {
  border-top-color: var(--nav-text) !important;
}

body[data-theme="light"] .has-dropdown:hover .dropdown-arrow,
body[data-theme="light"] .has-dropdown:focus-within .dropdown-arrow {
  border-top-color: var(--blue) !important;
}

/* =========================================================================
   LIGHT THEME MANAGED SERVICES OVERRIDES
   ========================================================================= */
body[data-theme="light"] .service-column {
  background: var(--surface) !important;
  border-color: rgba(79, 124, 255, 0.15) !important;
}

body[data-theme="light"] .service-column::after {
  color: var(--text) !important;
  opacity: 0.025 !important;
}

body[data-theme="light"] .service-column:hover {
  border-color: rgba(79, 124, 255, 0.22) !important;
}

body[data-theme="light"] .service-column:nth-child(1):hover {
  box-shadow: 0 32px 80px rgba(79, 124, 255, 0.12), 0 0 80px rgba(79, 124, 255, 0.04) !important;
  border-color: rgba(79, 124, 255, 0.25) !important;
}

body[data-theme="light"] .service-column:nth-child(2):hover {
  box-shadow: 0 32px 80px rgba(20, 184, 166, 0.12), 0 0 80px rgba(20, 184, 166, 0.04) !important;
  border-color: rgba(20, 184, 166, 0.25) !important;
}

body[data-theme="light"] .service-column-icon {
  border-color: rgba(79, 124, 255, 0.15) !important;
}

body[data-theme="light"] .service-column:nth-child(2) .service-column-icon {
  border-color: rgba(20, 184, 166, 0.15) !important;
}

body[data-theme="light"] .service-column-title {
  color: var(--text) !important;
}

body[data-theme="light"] .service-column-sub {
  color: var(--dimmed) !important;
}

body[data-theme="light"] .service-column:nth-child(1) .service-list li {
  background: rgba(79, 124, 255, 0.03) !important;
  border-color: rgba(79, 124, 255, 0.08) !important;
  color: var(--muted) !important;
}

body[data-theme="light"] .service-column:nth-child(1) .service-list li:hover {
  background: rgba(79, 124, 255, 0.06) !important;
  border-color: rgba(79, 124, 255, 0.15) !important;
}

body[data-theme="light"] .service-column:nth-child(2) .service-list li {
  background: rgba(20, 184, 166, 0.03) !important;
  border-color: rgba(20, 184, 166, 0.08) !important;
  color: var(--muted) !important;
}

body[data-theme="light"] .service-column:nth-child(2) .service-list li:hover {
  background: rgba(20, 184, 166, 0.06) !important;
  border-color: rgba(20, 184, 166, 0.15) !important;
}

body[data-theme="light"] .service-list li .feat-key {
  color: var(--text) !important;
}

/* Why Managed Services Banner light theme */
body[data-theme="light"] .why-banner {
  background: var(--surface) !important;
  border-color: rgba(139, 92, 246, 0.18) !important;
}

body[data-theme="light"] .why-banner:hover {
  border-color: rgba(139, 92, 246, 0.32) !important;
  box-shadow: 0 28px 72px rgba(139, 92, 246, 0.1), 0 0 80px rgba(139, 92, 246, 0.04) !important;
}

body[data-theme="light"] .why-banner-icon {
  background: rgba(139, 92, 246, 0.05) !important;
  border-color: rgba(139, 92, 246, 0.2) !important;
}

body[data-theme="light"] .why-banner-title {
  color: var(--text) !important;
}

body[data-theme="light"] .why-banner-text {
  color: var(--muted) !important;
}

body[data-theme="light"] .why-banner-text strong {
  color: var(--text) !important;
  font-weight: 700 !important;
}

/* =========================================================================
   LIGHT THEME RESOURCES & WHITEPAPERS OVERRIDES
   ========================================================================= */
body[data-theme="light"] #guides {
  background: linear-gradient(180deg, var(--void) 0%, rgba(79, 124, 255, 0.02) 50%, var(--void) 100%) !important;
}

body[data-theme="light"] .res-section form {
  background: rgba(79, 124, 255, 0.04) !important;
  border-color: rgba(79, 124, 255, 0.15) !important;
}

body[data-theme="light"] .res-section form input {
  color: var(--text) !important;
}

body[data-theme="light"] .res-section form input::placeholder {
  color: var(--dimmed) !important;
}

/* =========================================================================
   LIGHT THEME BLOG & ARTICLE DETAIL PAGE OVERRIDES
   ========================================================================= */
body[data-theme="light"] .bd-subtitle {
  color: var(--muted) !important;
}

body[data-theme="light"] .bd-author-name {
  color: var(--text) !important;
}

body[data-theme="light"] .bd-cat-name {
  color: var(--muted) !important;
}

body[data-theme="light"] .bd-cat-link:hover .bd-cat-name {
  color: var(--blue) !important;
}

body[data-theme="light"] .bd-prose {
  color: var(--muted) !important;
}

body[data-theme="light"] .bd-lead {
  color: var(--text) !important;
}

body[data-theme="light"] .bd-prose strong {
  color: var(--text) !important;
}

body[data-theme="light"] .bd-prose h2,
body[data-theme="light"] .bd-prose h3 {
  color: var(--text) !important;
}

body[data-theme="light"] .bd-list li {
  color: var(--muted) !important;
}

body[data-theme="light"] .bd-quote {
  background: rgba(79, 124, 255, 0.04) !important;
  border-color: rgba(79, 124, 255, 0.15) !important;
}

body[data-theme="light"] .bd-quote p {
  color: var(--muted) !important;
}

body[data-theme="light"] .bd-callout {
  color: var(--muted) !important;
}

body[data-theme="light"] .bd-callout strong {
  color: var(--text) !important;
}

body[data-theme="light"] .bd-share-btn {
  background: rgba(79, 124, 255, 0.05) !important;
  border-color: rgba(79, 124, 255, 0.12) !important;
  color: var(--muted) !important;
}

body[data-theme="light"] .bd-share-btn:hover {
  background: rgba(79, 124, 255, 0.15) !important;
  border-color: rgba(79, 124, 255, 0.3) !important;
  color: var(--blue) !important;
}

body[data-theme="light"] .bd-recent-title {
  color: var(--text) !important;
}

body[data-theme="light"] .bd-recent-link:hover .bd-recent-title {
  color: var(--blue) !important;
}

body[data-theme="light"] .bd-sidebar-cta-title {
  color: var(--text) !important;
}

body[data-theme="light"] .bd-sidebar-cta-body {
  color: var(--muted) !important;
}

body[data-theme="light"] .bd-sidebar-cta-label {
  color: var(--blue) !important;
}

body[data-theme="light"] .bd-tag {
  background: rgba(79, 124, 255, 0.05) !important;
  border-color: rgba(79, 124, 255, 0.15) !important;
  color: var(--muted) !important;
}

body[data-theme="light"] .bd-tag:hover {
  background: rgba(79, 124, 255, 0.12) !important;
  border-color: rgba(79, 124, 255, 0.25) !important;
  color: var(--blue) !important;
}

body[data-theme="light"] .bd-author-card {
  background: var(--surface) !important;
  border-color: rgba(79, 124, 255, 0.15) !important;
  box-shadow: var(--shadow-sm) !important;
}

body[data-theme="light"] .bd-author-card-name {
  color: var(--text) !important;
}

body[data-theme="light"] .bd-author-card-role {
  color: var(--blue) !important;
}

body[data-theme="light"] .bd-author-card-bio {
  color: var(--muted) !important;
}

body[data-theme="light"] .bd-related {
  background: var(--void) !important;
  border-top: 1px solid var(--rim) !important;
}

/* Quick Actions Band on Contact Page in Light Mode */
body[data-theme="light"] .quick-band {
  background: var(--void) !important;
  border-top-color: var(--rim) !important;
  border-bottom-color: var(--rim) !important;
}

body[data-theme="light"] .quick-card {
  background: var(--abyss) !important;
  border-color: var(--rim) !important;
  box-shadow: var(--shadow-sm) !important;
}

body[data-theme="light"] .quick-card:hover {
  background: #FFFFFF !important;
  border-color: rgba(79, 124, 255, 0.28) !important;
  box-shadow: var(--shadow-md) !important;
}

body[data-theme="light"] .quick-card-icon {
  background: rgba(79, 124, 255, 0.06) !important;
  border-color: rgba(79, 124, 255, 0.15) !important;
}

body[data-theme="light"] .quick-card:hover .quick-card-icon {
  background: rgba(79, 124, 255, 0.12) !important;
  border-color: rgba(79, 124, 255, 0.3) !important;
}

body[data-theme="light"] .quick-card-title {
  color: var(--text) !important;
}

body[data-theme="light"] .quick-card-desc {
  color: var(--muted) !important;
}

body[data-theme="light"] .form-heading {
  color: var(--blue) !important;
}

/* Newsletter CTA Band in Light Mode */
body[data-theme="light"] .nl-band {
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.06), rgba(139, 92, 246, 0.04)) !important;
  border-color: rgba(79, 124, 255, 0.15) !important;
}

body[data-theme="light"] .nl-field {
  background: #FFFFFF !important;
  border-color: rgba(79, 124, 255, 0.2) !important;
  color: var(--text) !important;
}

body[data-theme="light"] .nl-field::placeholder {
  color: var(--dimmed) !important;
}

body[data-theme="light"] .nl-field:focus {
  border-color: var(--blue) !important;
}

/* Responsive spacing between sections on mobile */
@media (max-width: 1024px) {
  #about {
    padding-bottom: 24px !important;
  }
  #services.services-bg,
  #services {
    padding-top: 24px !important;
  }
  #aivideo {
    padding-bottom: 24px !important;
  }
  #microsoft {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }
  #industries {
    padding-top: 24px !important;
  }
}

@media (max-width: 640px) {
  #about {
    padding-bottom: 16px !important;
  }
  #services.services-bg,
  #services {
    padding-top: 18px !important;
  }
  #aivideo {
    padding-bottom: 16px !important;
  }
  #microsoft {
    padding-top: 18px !important;
    padding-bottom: 16px !important;
  }
  #industries {
    padding-top: 18px !important;
  }
}
