/* ==========================================================================
   The Quasar - Global IT Solutions & Digital Transformation
   Master Design System: 100% Cross-Device Responsive, GSAP/AOS Ready, IT Animations
   ========================================================================== */

:root {
  /* Quasar Vibrant Blue & Cyan Palette */
  --quasar-blue: #0066ff;
  --quasar-blue-hover: #0052cc;
  --quasar-blue-deep: #0a2540;
  --quasar-cyan: #00c6ff;
  --quasar-sky: #e0f2fe;
  --quasar-indigo: #4f46e5;
  --quasar-purple: #7928ca;
  --quasar-emerald: #10b981;

  /* Theme Tokens - Light Mode Default (Ultra-Clean, High Contrast) */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafd;
  --bg-tertiary: #f0f6ff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-hero: linear-gradient(135deg, #f0f7ff 0%, #ffffff 55%, #e6f4fe 100%);
  --bg-dark-section: #0a192f;
  --bg-darker-section: #050d1a;
  
  --text-primary: #0a2540;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #ffffff;
  
  --border-color: #e2e8f0;
  --border-blue: rgba(0, 102, 255, 0.18);
  --border-subtle: #f1f5f9;
  
  --nav-bg: rgba(255, 255, 255, 0.98);
  --nav-text: #0a2540;
  --mega-bg: #ffffff;
  
  --card-shadow: 0 4px 20px rgba(0, 102, 255, 0.08);
  --card-shadow-hover: 0 16px 40px rgba(0, 102, 255, 0.16);
  --glow-blue: 0 0 30px rgba(0, 102, 255, 0.35);

  --radius-sm: 28px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1240px;
}

/* Dark Mode Theme Tokens */
[data-theme="dark"] {
  --bg-primary: #070d1e;
  --bg-secondary: #040814;
  --bg-tertiary: #0e1a38;
  --bg-card: #0d1836;
  --bg-card-hover: #122046;
  --bg-hero: linear-gradient(135deg, #070d1e 0%, #03060f 100%);
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border-color: #1a284c;
  --border-blue: rgba(0, 198, 255, 0.25);
  --nav-bg: rgba(7, 13, 30, 0.98);
  --nav-text: #ffffff;
  --mega-bg: #0d1836;
  --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  --card-shadow-hover: 0 20px 45px rgba(0, 198, 255, 0.22);
}

/* ==========================================================================
   CSS Reset & Base Foundation
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Lenis Smooth Scroll Utilities */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.65;
  /* padding-top: 84px; */
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

body.home-page {
  padding-top: 0 !important;
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ==========================================================================
   Typography & High Contrast Styling
   ========================================================================== */

.brand-font {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(1.85rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.6rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1.02rem; }
h6 { font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.08em; }

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.text-gradient {
  background: linear-gradient(135deg, var(--quasar-blue) 0%, var(--quasar-cyan) 70%, var(--quasar-indigo) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.tagline {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: var(--quasar-blue);
  background: rgba(0, 102, 255, 0.08);
  border: 1px solid rgba(0, 102, 255, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
}

[data-theme="dark"] .tagline {
  color: var(--quasar-cyan);
  background: rgba(0, 198, 255, 0.12);
  border-color: rgba(0, 198, 255, 0.3);
}

.section-lead {
  font-size: 1.1rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary);
  line-height: 1.65;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-blue {
  background: rgba(0, 102, 255, 0.08);
  color: var(--quasar-blue);
  border: 1px solid rgba(0, 102, 255, 0.2);
}

.badge-cyan {
  background: rgba(0, 198, 255, 0.1);
  color: #0284c7;
  border: 1px solid rgba(0, 198, 255, 0.25);
}

.badge-purple {
  background: rgba(121, 40, 202, 0.08);
  color: var(--quasar-purple);
  border: 1px solid rgba(121, 40, 202, 0.2);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.65rem;
  font-size: 0.94rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary, .btn-glow {
  background: linear-gradient(135deg, var(--quasar-blue) 0%, var(--quasar-cyan) 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 18px rgba(0, 102, 255, 0.35);
}

.btn-primary:hover, .btn-glow:hover {
  background: linear-gradient(135deg, var(--quasar-blue-hover) 0%, #00b4e6 100%);
  box-shadow: 0 8px 26px rgba(0, 102, 255, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--quasar-blue);
  border: 1.5px solid var(--quasar-blue);
}

.btn-outline:hover {
  background: rgba(0, 102, 255, 0.06);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: #ffffff;
  color: var(--quasar-blue-deep);
  border: 1.5px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.btn-outline-white:hover {
  background: #ffffff;
  border-color: var(--quasar-blue);
  color: var(--quasar-blue);
  transform: translateY(-2px);
}

[data-theme="dark"] .btn-outline-white {
  background: rgba(13, 24, 54, 0.9);
  color: #ffffff;
  border-color: var(--border-color);
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--quasar-blue);
  font-size: 0.92rem;
  position: relative;
}

[data-theme="dark"] .btn-link {
  color: var(--quasar-cyan);
}

.btn-link:hover {
  color: var(--quasar-blue-hover);
  transform: translateX(3px);
}

/* ==========================================================================
   Header & Navigation (Floating Capsule Navbar - 14px Top Margin)
   ========================================================================== */

.site-header {
  position: fixed;
  top: 14px;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-navbar {
  position: relative;
  height: 70px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  padding: 6px 14px 6px 20px !important;
  box-shadow: none !important;
  pointer-events: auto;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Translucent white curved background visible only when scrolled down */
.site-header.scrolled .main-navbar {
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.65) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="dark"] .site-header.scrolled .main-navbar {
  background: rgba(13, 24, 54, 0.75) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
}

.main-navbar > * {
  pointer-events: auto;
}

.brand-logo-wrap {
  display: flex;
  align-items: left;
  flex-shrink: 0;
  z-index: 2;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  filter: none !important;
  transition: transform var(--transition-fast);
}

[data-theme="dark"] .brand-logo-img {
  filter: none !important;
}

/* Nav Menu Capsule Pill Container - Centered in the middle */
.nav-menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 999px !important;
  padding: 5px 20px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  z-index: 2;
}

[data-theme="dark"] .nav-menu {
  background: rgba(13, 24, 54, 0.95) !important;
  border-color: rgba(0, 198, 255, 0.25) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

.nav-item {
  position: static;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.91rem;
  font-weight: 600;
  color: #0b1e36 !important;
  border-radius: 999px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active, .nav-item.active .nav-link, .nav-item.menu-open .nav-link {
  color: var(--quasar-blue) !important;
  background: rgba(0, 102, 255, 0.08) !important;
}

[data-theme="dark"] .nav-link {
  color: #ffffff !important;
}

[data-theme="dark"] .nav-link:hover, [data-theme="dark"] .nav-link.active, [data-theme="dark"] .nav-item.active .nav-link, [data-theme="dark"] .nav-item.menu-open .nav-link {
  color: var(--quasar-cyan) !important;
  background: rgba(0, 198, 255, 0.15) !important;
}

.nav-link svg.chevron {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-fast);
}

.nav-item:hover .nav-link svg.chevron,
.nav-item.menu-open .nav-link svg.chevron {
  transform: rotate(180deg);
}

/* Header Dark Capsule Button (Ask Leon / Get Quote Style) */
.btn-header-cta {
  background: #111827 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 999px !important;
  padding: 0.5rem 1.35rem !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
  transition: all var(--transition-fast);
}

.btn-header-cta:hover {
  background: #1f2937 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35) !important;
}

/* Mobile Toggle Hamburger Button */
.mobile-toggle-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px !important;
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  color: #0b1e36 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
  font-size: 1.3rem;
  transition: all var(--transition-fast);
}

[data-theme="dark"] .mobile-toggle-btn {
  background: rgba(13, 24, 54, 0.95) !important;
  border-color: rgba(0, 198, 255, 0.25) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}

/* --------------------------------------------------------------------------
   Scrolled & Non-Scrolled Transparent Floating Header
   -------------------------------------------------------------------------- */
.site-header,
.site-header.scrolled,
.home-page .site-header,
.home-page .site-header.scrolled {
  top: 14px !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
}

.site-header .brand-logo-img,
.site-header.scrolled .brand-logo-img,
.home-page .site-header .brand-logo-img,
.home-page .site-header.scrolled .brand-logo-img {
  filter: none !important;
}

/* --------------------------------------------------------------------------
   Floating Light / Dark Theme Switch (Directly Above Ask Quasar AI)
   -------------------------------------------------------------------------- */
.floating-theme-switch-wrap {
  position: fixed;
  bottom: 5.2rem;
  right: 1.75rem;
  z-index: 1499;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 5px;
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(226, 232, 240, 0.95);
  transition: transform 0.2s ease, background 0.3s ease;
}

[data-theme="dark"] .floating-theme-switch-wrap {
  background: rgba(13, 24, 54, 0.92);
  border-color: rgba(0, 198, 255, 0.3);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.floating-theme-switch-wrap:hover {
  transform: scale(1.08);
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 100%;
  background: var(--mega-bg);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 24px 48px rgba(0, 102, 255, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 999;
  padding: 2.25rem 0;
  max-height: calc(85vh - 72px);
  overflow-y: auto;
  pointer-events: none;
}

/* Invisible hover bridge between nav-item and mega-menu */
.mega-menu::before {
  content: '';
  position: absolute;
  top: -24px;
  left: 0;
  width: 100%;
  height: 24px;
  background: transparent;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu,
.nav-item.menu-open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.mega-col-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--quasar-blue);
  margin-bottom: 1.15rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .mega-col-title {
  color: var(--quasar-cyan);
}

.mega-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mega-list a {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.4rem 0.55rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.mega-list a:hover {
  background: rgba(0, 102, 255, 0.06);
  color: var(--quasar-blue);
  transform: translateX(4px);
}

[data-theme="dark"] .mega-list a:hover {
  background: rgba(0, 198, 255, 0.08);
  color: var(--quasar-cyan);
}

.mega-list a span.desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
}

.mega-spotlight {
  background: linear-gradient(145deg, #f0f7ff 0%, #e0efff 100%);
  color: var(--text-primary);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 102, 255, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

[data-theme="dark"] .mega-spotlight {
  background: linear-gradient(145deg, #0d1836 0%, #081024 100%);
  border-color: rgba(0, 198, 255, 0.2);
}

.mega-spotlight h4 {
  color: var(--quasar-blue-deep);
  margin-top: 0.5rem;
}

[data-theme="dark"] .mega-spotlight h4 {
  color: #ffffff;
}

.mega-spotlight p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Animated Day / Night Toggle Switch
   ========================================================================== */

.theme-switch-btn {
  position: relative;
  width: 52px;
  height: 26px;
  border-radius: 26px;
  background: none;
  padding: 0;
  border: none;
  cursor: pointer;
  outline: none;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.theme-switch-btn:hover {
  transform: scale(1.05);
}

.switch-track {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 26px;
  background: linear-gradient(135deg, #4fa5e8 0%, #8ed1fc 100%);
  transition: background 0.4s ease;
  overflow: hidden;
}

[data-theme="dark"] .switch-track {
  background: linear-gradient(135deg, #0b1528 0%, #1e293b 100%);
}

.switch-sun {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffcc00;
  box-shadow: 0 0 10px #ffcc00;
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.3s ease;
  z-index: 2;
}

[data-theme="dark"] .switch-sun {
  transform: translateX(26px) scale(0.4);
  opacity: 0;
}

.switch-clouds {
  position: absolute;
  bottom: -4px;
  right: 2px;
  width: 28px;
  height: 16px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  transition: transform 0.4s ease, opacity 0.3s ease;
  z-index: 1;
}

[data-theme="dark"] .switch-clouds {
  transform: translateY(20px);
  opacity: 0;
}

.switch-moon {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #d8e2dc;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  transform: translateX(-26px) scale(0.4);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.3s ease;
  z-index: 2;
}

[data-theme="dark"] .switch-moon {
  transform: translateX(0) scale(1);
  opacity: 1;
}

.crater {
  position: absolute;
  background: #9fa8a3;
  border-radius: 50%;
}
.crater-1 { width: 3.5px; height: 3.5px; top: 4px; left: 5px; }
.crater-2 { width: 2.5px; height: 2.5px; bottom: 4px; right: 5px; }

.switch-stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
}

[data-theme="dark"] .switch-stars {
  opacity: 1;
}

.star {
  position: absolute;
  color: #ffffff;
  font-size: 8px;
}
.star-1 { top: 3px; left: 7px; }
.star-2 { bottom: 4px; left: 14px; font-size: 6px; }

/* Search and Mobile Buttons */
.search-trigger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.search-trigger-btn:hover {
  background: rgba(0, 102, 255, 0.12);
  color: var(--quasar-blue);
}

.mobile-toggle-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-size: 1.4rem;
  transition: all var(--transition-fast);
}

/* ==========================================================================
   Social Media Floating Strip & Quick Action
   ========================================================================== */

.social-links-strip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.social-icon-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-icon-link:hover {
  background: var(--quasar-blue);
  color: #ffffff;
  border-color: var(--quasar-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.35);
}

.whatsapp-float-btn {
  position: fixed;
  bottom: 1.75rem;
  left: 1.75rem;
  z-index: 1500;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6);
}

/* ==========================================================================
   Hero Section with Particle Canvas & Video Showcase
   ========================================================================== */


.hero-section {
  position: relative;
  min-height: 82vh;
  background: rgb(0, 0, 0);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem 0;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
}

.hero-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content h1 {
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  color: white;
}

.hero-content p {
  color: var(--text-secondary);
  font-size: 1.12rem;
  line-height: 1.65;
  margin-bottom: 2rem;
  color: whitesmoke;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Video Presentation Showcase Card */
.video-showcase-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.video-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.video-thumb-wrap {
  position: relative;
  height: 420px;
  background: url('../images/smart_city_bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-thumb-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 37, 64, 0.2) 0%, rgba(10, 37, 64, 0.75) 100%);
}

.play-pulse-btn {
  position: relative;
  z-index: 5;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--quasar-blue) 0%, var(--quasar-cyan) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 0 25px rgba(0, 102, 255, 0.6);
  animation: pulseGlow 2.5s infinite;
  transition: transform var(--transition-fast);
}

.play-pulse-btn:hover {
  transform: scale(1.1);
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.6); }
  70% { box-shadow: 0 0 0 20px rgba(0, 102, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0); }
}

.video-card-body {
  padding: 1.5rem;
  background: var(--bg-card);
}

/* ==========================================================================
   Sliding Marquee Wrap (Infinite Animation)
   ========================================================================== */

.marquee-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  overflow: hidden;
  position: relative;
}

.marquee-wrap {
  display: flex;
  width: 100%;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
  display: flex;
  gap: 2.5rem;
  animation: marqueeScroll 24s linear infinite;
  white-space: nowrap;
  align-items: center;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.marquee-item:hover {
  color: var(--quasar-blue);
}

/* ==========================================================================
   Section: Core 8 Services (Floating Overlapping Modern Cards with Zoom)
   ========================================================================== */

.section-services {
  padding: 5.5rem 0;
  background: var(--bg-primary);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.75rem 2rem;
  margin-top: 3.5rem;
}

.service-card {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 20px;
  padding: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-media-thumb {
  position: relative;
  width: 100%;
  height: 250px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  margin: 0;
  background: #0b1528;
}

.service-media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-media-thumb img {
  transform: scale(1.08);
}

.service-card-body {
  position: relative;
  z-index: 2;
  margin-top: -36px;
  margin-left: 14px;
  margin-right: 14px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  padding: 1.75rem 1.6rem 1.6rem 1.6rem;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.09), 0 2px 8px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  transition: box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

[data-theme="dark"] .service-card-body {
  background: #0d1836;
  border-color: rgba(0, 198, 255, 0.2);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 102, 255, 0.1);
}

.service-card:hover .service-card-body {
  border-color: rgba(0, 102, 255, 0.35);
  box-shadow: 0 20px 44px rgba(0, 102, 255, 0.14);
}

[data-theme="dark"] .service-card:hover .service-card-body {
  border-color: rgba(0, 198, 255, 0.45);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.65), 0 0 25px rgba(0, 198, 255, 0.25);
}

.service-card-body h3 {
  font-size: 1.28rem;
  font-weight: 700;
  color: #0b1e36;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

[data-theme="dark"] .service-card-body h3 {
  color: #ffffff;
}

.service-card-body p {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.35rem;
}

[data-theme="dark"] .service-card-body p {
  color: #94a3b8;
}

.service-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--quasar-blue);
  text-decoration: none;
  margin-top: auto;
  align-self: flex-start;
  transition: all 0.25s ease;
}

[data-theme="dark"] .service-action-link {
  color: var(--quasar-cyan);
}

.service-action-link .action-arrow {
  transition: transform 0.25s ease;
  display: inline-block;
}

.service-card:hover .service-action-link {
  color: var(--quasar-blue-hover);
}

.service-card:hover .service-action-link .action-arrow {
  transform: translate(3px, -3px);
}

/* ==========================================================================
   Section: Why Choose Us (The 4 Quasar Pillars)
   ========================================================================== */

.section-why-us {
  padding: 5rem 0;
  background: linear-gradient(135deg, #0a192f 0%, #050d1a 100%);
  color: #ffffff;
  position: relative;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.pillar-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  background: rgba(0, 198, 255, 0.08);
  border-color: var(--quasar-cyan);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 198, 255, 0.2);
}

.pillar-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--quasar-cyan);
  margin-bottom: 0.35rem;
}

.pillar-card h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 0.55rem;
}

.pillar-card p {
  color: #cbd5e1;
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ==========================================================================
   Section: Interactive Project Scope & Cost Estimator Tool
   ========================================================================== */

.section-estimator {
  padding: 5rem 0;
  background: var(--bg-secondary);
}

.estimator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--card-shadow);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
}

.estimator-option-group {
  margin-bottom: 1.5rem;
}

.estimator-option-group h5 {
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.estimator-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.estimator-chip {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.estimator-chip.active, .estimator-chip:hover {
  background: var(--quasar-blue);
  color: #ffffff;
  border-color: var(--quasar-blue);
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3);
}

.estimator-summary-box {
  background: linear-gradient(145deg, #0a2540 0%, #061626 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid rgba(0, 198, 255, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.estimator-stat-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.estimator-stat-row .val {
  color: var(--quasar-cyan);
  font-weight: 700;
}

/* ==========================================================================
   Section: Tech Stack Matrix (Python, AI, ML, DevOps, Java, .NET)
   ========================================================================== */

.section-tech-matrix {
  padding: 5rem 0;
  background: var(--bg-primary);
}

.tech-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tech-tab-btn {
  padding: 0.6rem 1.35rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.tech-tab-btn.active, .tech-tab-btn:hover {
  background: var(--quasar-blue);
  color: #ffffff;
  border-color: var(--quasar-blue);
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3);
}

.tech-tab-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tech-tab-pane.active {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.tech-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-fast);
}

.tech-detail-card:hover {
  border-color: var(--quasar-blue);
  transform: translateY(-3px);
}

.tech-detail-card h4 {
  color: var(--quasar-blue);
  margin-bottom: 0.4rem;
}

[data-theme="dark"] .tech-detail-card h4 {
  color: var(--quasar-cyan);
}

/* ==========================================================================
   Section: Metrics Counter
   ========================================================================== */

.section-metrics {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--quasar-blue) 0%, #0099ff 100%);
  color: #ffffff;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.75rem;
  text-align: center;
}

.metric-number {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.35rem;
  color: #ffffff;
}

.metric-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

/* ==========================================================================
   Ask Quasar AI Assistant Chatbot Widget
   ========================================================================== */

.ask-quasar-trigger {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 1500;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1.15rem;
  background: linear-gradient(135deg, var(--quasar-blue) 0%, var(--quasar-cyan) 100%);
  color: #ffffff;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 30px rgba(0, 102, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.ask-quasar-trigger:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 35px rgba(0, 102, 255, 0.55);
}

/* Quasivio AI Custom Floating Trigger & Logo */
.ask-quasar-trigger.quasivio-trigger {
  background: #ffffff;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1.5px solid rgba(0, 102, 255, 0.3);
  box-shadow: 0 6px 26px rgba(0, 102, 255, 0.28);
  display: inline-flex;
  align-items: center;
  gap: 0;
}

[data-theme="dark"] .ask-quasar-trigger.quasivio-trigger {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(0, 198, 255, 0.5);
  box-shadow: 0 8px 30px rgba(0, 198, 255, 0.35);
}

.ask-quasar-trigger.quasivio-trigger:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 32px rgba(0, 102, 255, 0.45);
}

.quasivio-badge-icon {
  display: flex;
  align-items: center;
}

.quasivio-logo-img {
  height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
}

.quasivio-header-logo-box {
  background: #ffffff;
  padding: 3px 8px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.ask-quasar-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--quasar-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
}

.ask-quasar-chatbox {
  position: fixed;
  bottom: 5.5rem;
  right: 1.75rem;
  width: 380px;
  max-width: calc(100vw - 2.5rem);
  height: 500px;
  max-height: calc(100vh - 7rem);
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0, 102, 255, 0.2);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
}

[data-theme="dark"] .ask-quasar-chatbox {
  background: #0d1836;
}

.ask-quasar-chatbox.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ask-quasar-header {
  background: linear-gradient(135deg, #0a2540 0%, #061626 100%);
  color: #ffffff;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ask-quasar-messages {
  flex-grow: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.88rem;
  background: var(--bg-secondary);
}

.chat-bubble {
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius-md);
  max-width: 85%;
  line-height: 1.45;
}

.chat-bubble.bot {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.chat-bubble.user {
  background: var(--quasar-blue);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.ask-quasar-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.chat-chip {
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  background: rgba(0, 102, 255, 0.08);
  border: 1px solid rgba(0, 102, 255, 0.2);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--quasar-blue);
  cursor: pointer;
  transition: all var(--transition-fast);
}

[data-theme="dark"] .chat-chip {
  color: var(--quasar-cyan);
  background: rgba(0, 198, 255, 0.1);
  border-color: rgba(0, 198, 255, 0.25);
}

.chat-chip:hover {
  background: var(--quasar-blue);
  color: #ffffff;
}

.ask-quasar-input-box {
  display: flex;
  border-top: 1px solid var(--border-color);
  padding: 0.6rem;
  background: var(--bg-card);
}

.ask-quasar-input-box input {
  flex-grow: 1;
  border: none;
  background: transparent;
  padding: 0.4rem;
  outline: none;
  color: var(--text-primary);
  font-size: 0.9rem;
}

/* ==========================================================================
   Master Footer
   ========================================================================== */

.site-footer {
  background: #ffffff;
  color: var(--text-secondary);
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--border-color);
  transition: background-color var(--transition-normal), color var(--transition-normal), border-color var(--transition-normal);
}

[data-theme="dark"] .site-footer {
  background: #0a192f;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo-img {
  height: 48px;
  width: auto;
  max-width: 220px;
  margin-bottom: 1rem;
  transition: filter var(--transition-normal);
}

[data-theme="dark"] .footer-logo-img {
  filter: brightness(0) invert(1);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-top: 1.15rem;
  line-height: 1.6;
}

[data-theme="dark"] .footer-brand p {
  color: #cbd5e1;
}

.footer-col h5 {
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.15rem;
}

[data-theme="dark"] .footer-col h5 {
  color: #ffffff;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-list a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--quasar-blue);
}

[data-theme="dark"] .footer-links-list a {
  color: #94a3b8;
}

[data-theme="dark"] .footer-links-list a:hover {
  color: var(--quasar-cyan);
}

.footer-newsletter {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

[data-theme="dark"] .footer-newsletter {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-newsletter-title {
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

[data-theme="dark"] .footer-newsletter-title {
  color: #ffffff;
}

.footer-newsletter-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin: 0;
}

[data-theme="dark"] .footer-newsletter-desc {
  color: #cbd5e1;
}

.newsletter-form {
  display: flex;
  gap: 0.65rem;
  max-width: 440px;
  width: 100%;
}

.newsletter-input {
  flex-grow: 1;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.9rem;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--quasar-blue);
}

[data-theme="dark"] .newsletter-input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

[data-theme="dark"] .newsletter-input:focus {
  border-color: var(--quasar-cyan);
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

[data-theme="dark"] .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

.footer-legal-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
  color: var(--quasar-blue);
}

[data-theme="dark"] .footer-legal-links a {
  color: #94a3b8;
}

[data-theme="dark"] .footer-legal-links a:hover {
  color: var(--quasar-cyan);
}

/* ==========================================================================
   Full Cross-Device Responsive Breakpoints & Mobile Drawer Fixes
   ========================================================================== */

@media (max-width: 1100px) {
  .mega-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .mega-spotlight {
    grid-column: 1 / -1;
  }
  .footer-top {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 992px) {
  .site-header {
    top: 14px !important;
  }
  .main-navbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    width: 100% !important;
    /* padding: 6px 12px !important; */
  }
  .nav-menu {
    display: none !important;
  }
  /* Mobile Menu on Left */
  .mobile-toggle-btn {
    display: flex !important;
    order: 1 !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    color: #0b1e36 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1) !important;
    font-size: 1.35rem !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 2 !important;
  }
  [data-theme="dark"] .mobile-toggle-btn {
    background: rgba(13, 24, 54, 0.95) !important;
    border-color: rgba(0, 198, 255, 0.25) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
  }

  /* Logo Centered in the Middle */
  .brand-logo-wrap {
    order: 2 !important;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1 !important;
  }
  .brand-logo-img {
    height: 44px !important;
    max-width: 155px !important;
    width: auto !important;
  }

  /* Right Action: Circular Dark Button */
  .nav-actions {
    order: 3 !important;
    display: flex !important;
    align-items: center !important;
    margin-left: auto !important;
    z-index: 2 !important;
  }
  .nav-actions .btn-header-cta {
    display:  none;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: #111827 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .nav-actions .btn-header-cta span {
    display: none !important;
  }
  .nav-actions .btn-header-cta svg {
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
  }

  .hero-grid,
  .estimator-card {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .footer-newsletter {
    flex-direction: column;
    align-items: flex-start;
  }
  .newsletter-form {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 2.25rem !important;
  }
  .service-media-thumb {
    height: 220px !important;
  }
  .service-card-body {
    margin-top: -30px !important;
    margin-left: 10px !important;
    margin-right: 10px !important;
    padding: 1.5rem 1.25rem 1.35rem 1.25rem !important;
  }
  .pillars-grid,
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .hero-section {
    padding: 3rem 0 2.25rem 0;
    min-height: auto;
  }
  .estimator-card {
    padding: 1.5rem;
  }
  .estimator-summary-box {
    padding: 1.25rem;
  }
  .ask-quasar-chatbox {
    right: 0.75rem;
    bottom: 5rem;
    width: calc(100vw - 1.5rem);
  }
  .ask-quasar-trigger {
    right: 0.75rem;
    bottom: 1.25rem;
  }
  .ask-quasar-trigger.quasivio-trigger {
    padding: 0.35rem 0.8rem;
  }
  .ask-quasar-trigger.quasivio-trigger .quasivio-logo-img {
    height: 22px;
  }
  .floating-theme-switch-wrap {
    display: none !important;
  }
  .whatsapp-float-btn {
    left: 0.75rem;
    bottom: 1.25rem;
    width: 48px;
    height: 48px;
  }
  .quasar-scroll-top {
    left: 0.75rem;
    bottom: 4.8rem;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  body {
    /* padding-top: 62px; */
  }
  .mobile-toggle-btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 50% !important;
  }
  .nav-actions .btn-header-cta {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 50% !important;
  }
  .brand-logo-img {
    height: 34px !important;
    max-width: 135px !important;
  }
  .nav-actions {
    gap: 0.35rem;
  }
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.88rem;
    width: 100%;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: auto;
  }
  .tagline {
    font-size: 0.72rem;
    padding: 0.25rem 0.6rem;
  }
  .video-thumb-wrap {
    height: 170px;
  }
}

/* ==========================================================================
   Mobile Navigation Drawer (Opens from Left)
   ========================================================================== */

.mobile-drawer {
  position: fixed;
  top: 0;
  left: -100%;
  right: auto;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: var(--bg-primary);
  z-index: 2500;
  box-shadow: 8px 0 32px rgba(0, 102, 255, 0.15);
  transition: left var(--transition-normal);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.mobile-drawer.active {
  left: 0;
  right: auto;
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 37, 64, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2400;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 1.25rem;
  width: 100%;
}

.mobile-nav-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 0.85rem 0.5rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  border-radius: 0;
  transition: all var(--transition-fast);
  width: 100%;
  box-sizing: border-box;
}

.mobile-nav-item a:hover {
  color: var(--quasar-blue);
  background: rgba(0, 102, 255, 0.05);
  padding-left: 0.85rem;
}

[data-theme="dark"] .mobile-nav-item a:hover {
  color: var(--quasar-cyan);
  background: rgba(0, 198, 255, 0.08);
}

/* ==========================================================================
   Our Clients Section
   ========================================================================== */

.clients-section {
  padding: 4.5rem 0 4rem 0;
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.clients-carousel-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1rem 0;
}

.clients-carousel-wrap::before,
.clients-carousel-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.clients-carousel-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-secondary) 0%, transparent 100%);
}

.clients-carousel-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-secondary) 0%, transparent 100%);
}

.clients-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: scrollClients 30s linear infinite;
}

.clients-carousel-wrap:hover .clients-track {
  animation-play-state: paused;
}

@keyframes scrollClients {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client-logo-card {
  width: 220px;
  height: 96px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  flex-shrink: 0;
  user-select: none;
}

[data-theme="dark"] .client-logo-card {
  background: #0e1a38;
  border-color: #1e2f5c;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.client-logo-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 102, 255, 0.15);
  border-color: var(--quasar-blue);
}

.client-logo-card img {
  max-width: 100%;
  max-height: 52px;
  object-fit: contain;
}

.client-brand-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ioc-circle {
  font-size: 0.65rem;
  font-weight: 800;
  background: #f97316;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 2px;
}
.ioc-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: #0284c7;
  letter-spacing: -0.02em;
}

.iaf-crest {
  font-size: 1.25rem;
  line-height: 1;
}
.iaf-name {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #1e3a8a;
}
[data-theme="dark"] .iaf-name {
  color: #60a5fa;
}

.re-sustain .re-icon {
  font-size: 1.5rem;
  font-weight: 900;
  color: #ef4444;
  line-height: 1;
}
.re-sustain .re-sub {
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.reliance .ril-symbol {
  color: #eab308;
  font-size: 0.9rem;
}
.reliance .ril-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: #1e293b;
  font-family: serif;
}
[data-theme="dark"] .reliance .ril-name {
  color: #f1f5f9;
}
.reliance .ril-sub {
  font-size: 0.6rem;
  color: #64748b;
}

.vmart .vmart-box {
  background: #dc2626;
  color: #ffffff;
  font-weight: 900;
  font-size: 1.15rem;
  padding: 0 8px;
  border-radius: 4px;
}
.vmart .vmart-text {
  font-size: 0.8rem;
  font-weight: 800;
  color: #dc2626;
  letter-spacing: 0.1em;
}

.tata .tata-name {
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.15em;
  color: #2563eb;
}
.tata .tata-sub {
  font-size: 0.6rem;
  color: #64748b;
  letter-spacing: 0.08em;
}

.hdfc .hdfc-box {
  color: #dc2626;
  font-size: 1.1rem;
}
.hdfc .hdfc-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: #004c8f;
}
[data-theme="dark"] .hdfc .hdfc-name {
  color: #38bdf8;
}

@media (max-width: 768px) {
  .clients-section {
    padding: 3.5rem 0 3rem 0;
  }
  .client-logo-card {
    width: 175px;
    height: 82px;
    padding: 0.75rem 1rem;
  }
  .clients-carousel-wrap::before,
  .clients-carousel-wrap::after {
    width: 50px;
  }
}

/* ==========================================================================
   Hero Video Fullscreen Section (5px Margins & Curved Corners)
   ========================================================================== */

.herovideo_section {
  position: relative;
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  height: 100dvh;
  padding: 12px;
  box-sizing: border-box;
  margin: 0;
  background: transparent;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.herovideo {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #000000;
}

[data-theme="dark"] .herovideo {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.15);
}

.herovideo_player {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 20px;
}

.herovideo_overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 13, 30, 0.05) 0%, transparent 60%, rgba(7, 13, 30, 0.45) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 2rem 2.5rem 3.5rem 2.5rem;
  pointer-events: none;
  border-radius: 20px;
}

.herovideo_btn_wrap {
  pointer-events: auto;
  display: flex;
  gap: 0.85rem;
  align-items: center;
  justify-content: center;
}

.herovideo_btn_wrap .btn {
  padding: 0.65rem 1.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.35);
}

@media (max-width: 768px) {
  .herovideo_section {
    padding: 5px;
    height: 100vh;
    height: 100dvh;
  }
  .herovideo {
    border-radius: 16px;
  }
  .herovideo_player {
    border-radius: 16px;
  }
  .herovideo_overlay {
    padding: 1.5rem 1rem 5.5rem 1rem;
    border-radius: 16px;
    justify-content: center;
    align-items: flex-end;
  }
  .herovideo_btn_wrap {
    width: auto;
    max-width: 280px;
    justify-content: center;
    margin: 0 auto;
  }
  .herovideo_btn_wrap .btn {
    flex: initial;
    width: auto;
    padding: 0.55rem 1.25rem;
    font-size: 0.82rem;
    text-align: center;
    white-space: nowrap;
  }
}

/* ==========================================================================
   Notification Banner Pop-Up: Hosting Offer
   ========================================================================== */

.quasar-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 10, 24, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.quasar-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.quasar-popup-card {
  position: relative;
  background: var(--bg-primary);
  border: 1px solid var(--border-blue);
  border-radius: 20px;
  max-width: 580px;
  width: 100%;
  padding: 2.25rem 2rem 2rem 2rem;
  box-shadow: 0 24px 64px rgba(0, 102, 255, 0.25);
  text-align: center;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .quasar-popup-card {
  background: #0d1836;
  border-color: rgba(0, 198, 255, 0.35);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 198, 255, 0.15);
}

.quasar-popup-overlay.active .quasar-popup-card {
  transform: scale(1) translateY(0);
}

.quasar-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s, transform 0.2s, color 0.2s;
  z-index: 2;
}

.quasar-popup-close:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
  transform: rotate(90deg);
}

.popup-hot-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.popup-icon-glow {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem auto;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--quasar-blue) 0%, var(--quasar-cyan) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.35);
}

.popup-title {
  color: var(--text-primary);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.popup-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.popup-promo-chip {
  background: var(--bg-tertiary);
  border: 1px dashed var(--quasar-blue);
  border-radius: 10px;
  padding: 0.55rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

[data-theme="dark"] .popup-promo-chip {
  background: rgba(0, 198, 255, 0.08);
  border-color: var(--quasar-cyan);
}

.promo-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.promo-code {
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--quasar-blue);
  letter-spacing: 0.05em;
}

[data-theme="dark"] .promo-code {
  color: var(--quasar-cyan);
}

.popup-actions .popup-explore-cta {
  width: 100%;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
}

/* ==========================================================================
   Clean Brand Preloader
   ========================================================================== */

.modern-preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #070d1e;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  overflow: hidden;
}

.modern-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.preloader-logo-img {
  height: 48px;
  width: auto;
  max-width: 200px;
  filter: drop-shadow(0 0 16px rgba(0, 198, 255, 0.4));
}

.preloader-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: #00c6ff;
  border-right-color: #0066ff;
  border-radius: 50%;
  animation: preloaderSpin 0.75s linear infinite;
}

@keyframes preloaderSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   Advanced Animated Scroll-to-Top Button (Left Bottom Dock)
   ========================================================================== */

.quasar-scroll-top {
  position: fixed;
  left: 1.75rem;
  bottom: 5.25rem;
  z-index: 1500;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(0, 102, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  outline: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px) scale(0.85);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.35s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease,
              background 0.3s ease;
}

[data-theme="dark"] .quasar-scroll-top {
  background: rgba(10, 25, 47, 0.9);
  border-color: rgba(0, 198, 255, 0.35);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6), 0 0 16px rgba(0, 198, 255, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.quasar-scroll-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.quasar-scroll-top:hover {
  transform: translateY(-4px) scale(1.06);
  border-color: #00c6ff;
  box-shadow: 0 12px 30px rgba(0, 102, 255, 0.45), 0 0 24px rgba(0, 198, 255, 0.5);
}

[data-theme="dark"] .quasar-scroll-top:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7), 0 0 28px rgba(0, 198, 255, 0.6);
}

.quasar-scroll-top:active {
  transform: translateY(-1px) scale(0.96);
}

/* Dynamic SVG Progress Ring */
.scroll-progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transform: rotate(-90deg);
}

.progress-ring-bg {
  fill: none;
  stroke: rgba(0, 102, 255, 0.12);
  stroke-width: 3.5;
}

[data-theme="dark"] .progress-ring-bg {
  stroke: rgba(0, 198, 255, 0.15);
}

.progress-ring-fill {
  fill: none;
  stroke: #00c6ff;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 138.23;
  stroke-dashoffset: 138.23;
  transition: stroke-dashoffset 0.1s linear;
  filter: drop-shadow(0 0 4px rgba(0, 198, 255, 0.6));
}

/* Inner Rocket Icon & Micro-Animations */
.scroll-top-icon-wrap {
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.scroll-rocket {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--quasar-blue);
  animation: rocketHoverLevitate 2.6s ease-in-out infinite;
  transition: transform 0.3s ease;
}

[data-theme="dark"] .scroll-rocket {
  color: #ffffff;
}

.rocket-svg {
  display: block;
  width: 22px;
  height: 22px;
  overflow: visible;
}

.rocket-body {
  fill: currentColor;
  filter: drop-shadow(0 2px 4px rgba(0, 102, 255, 0.25));
}

.rocket-booster {
  fill: var(--quasar-cyan);
}

.thruster-flame {
  animation: thrusterFlicker 0.45s ease-in-out infinite alternate;
  transform-origin: 12px 18.5px;
}

.quasar-scroll-top:hover .scroll-rocket {
  animation-play-state: paused;
  transform: translateY(-2px);
}

.quasar-scroll-top:hover .thruster-flame {
  transform: scaleY(1.4);
  filter: drop-shadow(0 0 8px #00c6ff);
}

/* Hypersonic Launch State */
.quasar-scroll-top.launching .scroll-rocket {
  animation: rocketBlastUp 0.75s cubic-bezier(0.1, 0.85, 0.2, 1) forwards;
}

@keyframes rocketHoverLevitate {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes thrusterFlicker {
  0% {
    transform: scaleY(0.85) scaleX(0.9);
    opacity: 0.75;
  }
  100% {
    transform: scaleY(1.25) scaleX(1.1);
    opacity: 1;
    filter: drop-shadow(0 0 5px #00c6ff);
  }
}

@keyframes rocketBlastUp {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  25% {
    transform: translateY(3px) scale(0.95);
  }
  60% {
    transform: translateY(-25px) scale(0.7);
    opacity: 0.8;
  }
  100% {
    transform: translateY(-50px) scale(0.4);
    opacity: 0;
  }
}

/* Tooltip */
.scroll-top-tooltip {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  background: #0a2540;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 198, 255, 0.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.02em;
}

[data-theme="dark"] .scroll-top-tooltip {
  background: #070f24;
  border-color: rgba(0, 198, 255, 0.4);
}

.scroll-top-tooltip::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: #0a2540;
}

[data-theme="dark"] .scroll-top-tooltip::before {
  border-right-color: #070f24;
}

.quasar-scroll-top:hover .scroll-top-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* ==========================================================================
   Master Cookie Consent System & Preferences Modal
   ========================================================================== */

.quasar-cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 10, 24, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99990;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.quasar-cookie-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.quasar-cookie-card {
  position: relative;
  background: var(--bg-primary);
  border: 1.5px solid var(--border-blue);
  border-radius: 20px;
  max-width: 640px;
  width: 100%;
  padding: 1.85rem 2rem;
  box-shadow: 0 24px 64px rgba(0, 102, 255, 0.22), 0 0 35px rgba(0, 198, 255, 0.12);
  transform: translateY(35px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

[data-theme="dark"] .quasar-cookie-card {
  background: #0d1836;
  border-color: rgba(0, 198, 255, 0.32);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75), 0 0 40px rgba(0, 198, 255, 0.16);
}

.quasar-cookie-overlay.active .quasar-cookie-card {
  transform: translateY(0) scale(1);
}

.quasar-cookie-overlay.closing .quasar-cookie-card {
  transform: translateY(35px) scale(0.96);
}

.cookie-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.15rem;
  position: relative;
}

.cookie-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.12) 0%, rgba(0, 198, 255, 0.2) 100%);
  color: var(--quasar-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(0, 198, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.15);
}

[data-theme="dark"] .cookie-icon-wrap {
  color: #00c6ff;
  border-color: rgba(0, 198, 255, 0.4);
}

.cookie-title-wrap {
  flex: 1;
}

.cookie-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--quasar-blue);
  margin-bottom: 0.25rem;
}

[data-theme="dark"] .cookie-badge {
  color: #00c6ff;
}

.cookie-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin: 0;
}

.cookie-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  transition: all 0.2s;
  flex-shrink: 0;
}

.cookie-close-btn:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
  transform: rotate(90deg);
}

.cookie-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.cookie-policy-link {
  color: var(--quasar-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.cookie-policy-link:hover {
  color: var(--quasar-blue-hover);
}

[data-theme="dark"] .cookie-policy-link {
  color: #00c6ff;
}

[data-theme="dark"] .cookie-policy-link:hover {
  color: #38bdf8;
}

/* Expandable Cookie Preferences */
.cookie-prefs-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-height: 240px;
  overflow-y: auto;
}

[data-theme="dark"] .cookie-prefs-panel {
  background: rgba(4, 10, 24, 0.65);
  border-color: rgba(255, 255, 255, 0.08);
}

.cookie-pref-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.cookie-pref-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pref-info {
  flex: 1;
}

.pref-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.15rem;
}

.pref-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  display: block;
}

/* Custom Checkbox Toggle */
.pref-switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.pref-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.pref-toggle-label {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--border-color);
  border-radius: 999px;
  transition: background-color 0.25s ease;
}

.pref-toggle-label::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.pref-switch input:checked + .pref-toggle-label {
  background-color: var(--quasar-blue);
}

[data-theme="dark"] .pref-switch input:checked + .pref-toggle-label {
  background-color: #00c6ff;
}

.pref-switch input:checked + .pref-toggle-label::before {
  transform: translateX(20px);
}

.pref-toggle-label.disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Cookie Actions */
.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cookie-primary-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.cookie-btn-accept {
  flex: 1;
  min-width: 160px;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cookie-btn-reject {
  flex: 1;
  min-width: 160px;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-color);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-btn-reject:hover {
  border-color: #ef4444;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
  transform: translateY(-2px);
}

.cookie-pref-toggle-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: center;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.cookie-pref-toggle-btn:hover {
  color: var(--quasar-blue);
  background: rgba(0, 102, 255, 0.06);
}

[data-theme="dark"] .cookie-pref-toggle-btn:hover {
  color: #00c6ff;
  background: rgba(0, 198, 255, 0.08);
}

.chevron-icon {
  transition: transform 0.25s ease;
}

.chevron-icon.rotate {
  transform: rotate(180deg);
}

.cookie-btn-save {
  width: 100%;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--quasar-blue) 0%, var(--quasar-cyan) 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.3);
  transition: all 0.2s ease;
}

.cookie-btn-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.45);
}

/* Toast confirmation */
.quasar-cookie-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: #0a2540;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 99999;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  border: 1px solid rgba(0, 198, 255, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .quasar-cookie-toast {
  background: #071026;
  border-color: rgba(0, 198, 255, 0.5);
}

.quasar-cookie-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Footer Cookie link styling */
.open-cookie-preferences {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.open-cookie-preferences:hover {
  color: var(--quasar-blue) !important;
}

[data-theme="dark"] .open-cookie-preferences:hover {
  color: #00c6ff !important;
}

/* Responsive & Phone View Optimization */
@media (max-width: 768px) {
  .quasar-scroll-top {
    left: 0.75rem;
    bottom: 4.85rem;
    width: 46px;
    height: 46px;
  }
  .scroll-top-tooltip {
    display: none !important;
  }
  .quasar-cookie-overlay {
    padding: 0.75rem;
  }
  .quasar-cookie-card {
    padding: 1.4rem 1.15rem 1.15rem 1.15rem;
    border-radius: 16px;
    max-height: 85vh;
    overflow-y: auto;
  }
  .cookie-title {
    font-size: 1.12rem;
  }
  .cookie-desc {
    font-size: 0.85rem;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .quasar-scroll-top {
    left: 0.65rem;
    bottom: 4.75rem;
    width: 44px;
    height: 44px;
  }
  .cookie-primary-actions {
    flex-direction: column;
    gap: 0.65rem;
  }
  .cookie-btn-accept,
  .cookie-btn-reject {
    width: 100%;
    min-width: 100%;
    padding: 0.7rem 1rem;
    font-size: 0.88rem;
  }
  .cookie-prefs-panel {
    max-height: 200px;
    padding: 0.75rem 0.85rem;
  }
  .pref-title {
    font-size: 0.82rem;
  }
  .pref-desc {
    font-size: 0.72rem;
  }
}

/* ==========================================================================
   Infosys-Style About Page & Hero Video Slider System
   ========================================================================== */

.about-hero-frame {
  margin: 16px 16px 0 16px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: #030611;
  height: 82vh;
  min-height: 560px;
  max-height: 780px;
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.14);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

.about-hero-frame:active {
  cursor: grabbing;
}

.about-hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  pointer-events: none;
}

.about-hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.about-hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.84) 0%, rgba(10, 25, 48, 0.52) 28%, rgba(255, 255, 255, 0.245) 58%, rgba(255, 255, 255, 0.832) 85%, #ffffff 100%);
  z-index: 2;
  pointer-events: none;
}

[data-theme="dark"] .about-hero-overlay {
  background: linear-gradient(180deg, rgba(13, 23, 52, 0.9) 0%, rgba(5, 12, 28, 0.6) 30%, rgba(7, 15, 35, 0.85) 75%, #030712 100%);
}

/* Centered Headline & Read More Button */
.about-hero-center {
  position: relative;
  z-index: 15;
  text-align: center;
  /* max-width: 980px; */
  margin: auto auto;
  padding: 18rem 1.5rem 5rem 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.about-hero-center-content {
  display: none;
  opacity: 0;
  transform: translateX(25px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.about-hero-center-content.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.about-hero-headline {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 400;
  line-height: 1.28;
  color: #0f172a;
  margin: 0 auto 1.6rem auto;
  /* max-width: 940px; */
  letter-spacing: -0.4px;
}

[data-theme="dark"] .about-hero-headline {
  color: #f8fafc;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.65);
}

.about-readmore-btn {
  background: #111111;
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
  outline: none !important;
}

.about-readmore-btn:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  color: #ffffff;
}

.about-readmore-btn .arrow-up-right {
  font-size: 1.05rem;
  line-height: 1;
}

/* Bottom 3 Wide Progress Bars (Always Pinned & Visible) */
.about-hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 25;
  background: transparent;
  padding-bottom: 1.5rem;
  pointer-events: auto;
}

.infosys-progress-strip {
  display: flex;
  gap: 16px;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
  justify-content: center;
  box-sizing: border-box;
  position: relative;
  z-index: 26;
}

.infosys-progress-bar {
  flex: 1;
  height: 5px;
  background: rgba(0, 102, 255, 0.28);
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  transition: height 0.2s ease, background 0.2s ease;
  outline: none !important;
}

[data-theme="dark"] .infosys-progress-bar {
  background: rgba(255, 255, 255, 0.22);
}

.infosys-progress-bar:hover {
  height: 7px;
  background: rgba(0, 102, 255, 0.45);
}

.infosys-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #0066ff;
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(0, 102, 255, 0.6);
  will-change: width;
}

[data-theme="dark"] .infosys-progress-fill {
  background: #00c6ff;
  box-shadow: 0 0 8px rgba(0, 198, 255, 0.7);
}

/* Outlines and tap highlights reset */
.about-hero-frame,
.about-hero-frame *,
.about-hero-slider,
.about-hero-slide,
.about-hero-center,
.about-hero-headline,
.about-readmore-btn,
.about-hero-bottom,
.infosys-progress-strip,
.infosys-progress-bar,
.infosys-progress-fill {
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

@media (max-width: 991px) {
  .about-hero-frame {
    margin: 12px 12px 0 12px;
    border-radius: 24px;
    height: 76vh;
    min-height: 520px;
  }
}

@media (max-width: 768px) {
  .about-hero-frame {
    margin: 10px 10px 0 10px;
    border-radius: 20px;
    height: 6vh;
    min-height: 520px;
  }
  .about-hero-center {
    padding: 1rem 1rem 4.5rem 1rem;
  }
  .about-hero-headline {
    font-size: 1.4rem;
    line-height: 1.32;
    /* margin-bottom: 1.25rem; */
    margin-top: 18rem;
  }
  .about-hero-bottom {
    padding-bottom: 1rem;
  }
  .infosys-progress-strip {
    gap: 8px;
    padding: 0 1rem;
  }
  .infosys-progress-bar {
    height: 4px;
    background: rgba(0, 102, 255, 0.35);
  }
}


/* Sticky Sub-Navigation (Infosys Jump Links) */
.about-subnav-bar {
  position: sticky;
  top: 86px;
  z-index: 80;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.about-subnav-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.75rem 0;
  margin: 0;
  list-style: none;
}

.about-subnav-list::-webkit-scrollbar {
  display: none;
}

.about-subnav-link {
  display: inline-block;
  padding: 0.45rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  border-radius: 9999px;
  white-space: nowrap;
  transition: all 0.25s ease;
  text-decoration: none;
}

.about-subnav-link:hover,
.about-subnav-link.active {
  color: var(--quasar-blue);
  background: var(--bg-tertiary);
}

[data-theme="dark"] .about-subnav-link:hover,
[data-theme="dark"] .about-subnav-link.active {
  color: var(--quasar-cyan);
  background: rgba(0, 198, 255, 0.12);
}

/* Infosys At-A-Glance Numbers Strip */
.infosys-metrics-strip {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 3rem 0;
}

.infosys-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.infosys-metric-item {
  padding: 0.5rem;
}

.infosys-metric-val {
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  font-weight: 800;
  line-height: 1;
  color: var(--quasar-blue);
  background: linear-gradient(135deg, var(--quasar-blue) 0%, var(--quasar-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.infosys-metric-label {
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Infosys-Style Transformation Pillars ("Navigate Your Next") */
.infosys-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.infosys-pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
}

.infosys-pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 198, 255, 0.45);
  box-shadow: var(--card-shadow-hover);
}

.infosys-pillar-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--quasar-blue);
  background: var(--bg-tertiary);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 1.25rem;
  align-self: flex-start;
}

[data-theme="dark"] .infosys-pillar-badge {
  color: var(--quasar-cyan);
  background: rgba(0, 198, 255, 0.12);
}

.infosys-pillar-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}

.infosys-pillar-text {
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

/* Infosys-Style Corporate Leadership Grid */
.infosys-leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.infosys-leader-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.infosys-leader-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

.infosys-leader-thumb {
  position: relative;
  height: 310px;
  overflow: hidden;
  background: #091529;
}

.infosys-leader-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.infosys-leader-card:hover .infosys-leader-thumb img {
  transform: scale(1.04);
}

.infosys-leader-body {
  padding: 1.75rem;
}

.infosys-leader-name {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.infosys-leader-role {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--quasar-blue);
  margin-bottom: 0.85rem;
}

[data-theme="dark"] .infosys-leader-role {
  color: var(--quasar-cyan);
}

.infosys-leader-bio {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ==========================================================================
   Quasar Group Companies Section & Grid
   ========================================================================== */

.group-companies-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  border-top: 1px solid var(--border-color);
  position: relative;
}

.group-comp-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
  margin-bottom: 3.5rem;
}

.group-comp-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--card-shadow);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.group-comp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--quasar-blue), var(--quasar-cyan));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.group-comp-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 198, 255, 0.35);
  box-shadow: var(--card-shadow-hover);
}

.group-comp-card:hover::before {
  opacity: 1;
}

.group-comp-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #0077b6;
  background: #e0f2fe;
  padding: 0.25rem 0.7rem;
  border-radius: 9999px;
  margin-bottom: 1.15rem;
  align-self: flex-start;
}

[data-theme="dark"] .group-comp-badge {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
}

.group-comp-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.group-comp-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.group-comp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.group-tag {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

/* Quasar Group Master CTA Banner */
.group-companies-banner {
  background: linear-gradient(135deg, #071329 0%, #030814 100%);
  border: 1px solid rgba(0, 198, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.group-companies-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 198, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.group-banner-info h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  color: #ffffff;
  margin-bottom: 0.65rem;
  font-weight: 800;
}

.group-banner-info p {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 680px;
  margin: 0;
}

@media (max-width: 991px) {
  .about-hero-section {
    height: auto;
    min-height: 560px;
    padding-top: 110px;
    padding-bottom: 7rem;
  }
  .about-hero-nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .about-hero-tabs-wrap {
    width: 100%;
  }
  .group-companies-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 2.5rem 2rem;
  }
}

@media (max-width: 768px) {
  .about-hero-section {
    padding-top: 100px;
    padding-bottom: 8.5rem;
    min-height: 520px;
  }
  .about-hero-tabs-wrap {
    gap: 0.75rem;
  }
  .about-tab-label {
    font-size: 0.78rem;
  }
  .about-subnav-bar {
    top: 72px;
  }
  .infosys-metrics-strip {
    padding: 2rem 0;
  }
}

/* ==========================================================================
   Quasar Corporate Ecosystem - Interactive Flowchart Architecture
   Parent: The Quasar | Flagship Subsidiaries: 1. Tarumitra, 2. Panditity
   ========================================================================== */

.qflow-section {
  position: relative;
  padding: 5.5rem 0 6rem 0;
  background: var(--bg-primary);
  overflow: hidden;
}

/* Ambient luminous glow orbs */
.qflow-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}
.qflow-glow-orb.orb-top {
  width: 520px;
  height: 520px;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 198, 255, 0.28) 0%, rgba(0, 102, 255, 0.1) 60%, transparent 100%);
}
.qflow-glow-orb.orb-left {
  width: 440px;
  height: 440px;
  bottom: 60px;
  left: -80px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, transparent 70%);
}
.qflow-glow-orb.orb-right {
  width: 440px;
  height: 440px;
  bottom: 60px;
  right: -80px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.28) 0%, rgba(121, 40, 202, 0.18) 70%, transparent 100%);
}

.qflow-container {
  position: relative;
  z-index: 1;
}

/* Flowchart Board Canvas */
.qflow-board {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 3.5rem 2.75rem;
  box-shadow: 0 20px 60px rgba(0, 30, 80, 0.07);
  background-image: radial-gradient(rgba(0, 102, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  overflow: hidden;
}

[data-theme="dark"] .qflow-board {
  background: #091329;
  border-color: rgba(0, 198, 255, 0.22);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.65);
  background-image: radial-gradient(rgba(0, 198, 255, 0.12) 1px, transparent 1px);
}

/* --------------------------------------------------------------------------
   1. Apex Parent Node - The Quasar Group
   -------------------------------------------------------------------------- */
.qflow-parent-card {
  max-width: 620px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 247, 255, 0.95) 100%);
  border: 2px solid rgba(0, 102, 255, 0.35);
  border-radius: 24px;
  padding: 2.25rem 2.5rem;
  box-shadow: 0 14px 40px rgba(0, 102, 255, 0.14), 0 0 0 1px rgba(0, 198, 255, 0.12);
  text-align: center;
  position: relative;
  transition: all 0.35s ease;
  backdrop-filter: blur(12px);
  z-index: 3;
}

[data-theme="dark"] .qflow-parent-card {
  background: linear-gradient(135deg, #0d1e42 0%, #07122b 100%);
  border-color: rgba(0, 198, 255, 0.45);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.55), 0 0 28px rgba(0, 198, 255, 0.2);
}

.qflow-parent-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 102, 255, 0.22), 0 0 35px rgba(0, 198, 255, 0.35);
  border-color: var(--quasar-cyan);
}

.qflow-parent-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--quasar-blue);
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.25);
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

[data-theme="dark"] .qflow-parent-badge {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.3);
}

.qflow-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: qflowPulse 2s infinite ease-in-out;
}

@keyframes qflowPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.45; }
}

.qflow-parent-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.15rem;
}

.qflow-parent-logo-wrap img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}

.qflow-parent-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.qflow-parent-desc {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.qflow-parent-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.qflow-feat-tag {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.32rem 0.8rem;
  border-radius: 6px;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Pulsing Anchor Point on Bottom of Parent Node */
.qflow-anchor-point {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--quasar-blue);
  box-shadow: 0 0 15px var(--quasar-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

[data-theme="dark"] .qflow-anchor-point {
  background: #0d1e42;
  border-color: var(--quasar-cyan);
  box-shadow: 0 0 18px var(--quasar-cyan);
}

.qflow-anchor-point::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--quasar-cyan);
  animation: qflowPulse 2s infinite ease-in-out;
}

/* --------------------------------------------------------------------------
   2. SVG Flow Lines & Central Hub
   -------------------------------------------------------------------------- */
.qflow-connector-area {
  position: relative;
  width: 100%;
  height: 150px;
  margin: 0.25rem 0;
}

.qflow-svg-tree {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.qflow-line-rail {
  stroke: rgba(0, 102, 255, 0.22);
  stroke-width: 3.5;
  fill: none;
}

[data-theme="dark"] .qflow-line-rail {
  stroke: rgba(0, 198, 255, 0.28);
}

.qflow-line-flow {
  stroke-width: 3.5;
  fill: none;
  stroke-dasharray: 8 14;
  animation: qflowFlowBeam 2.5s linear infinite;
}

@keyframes qflowFlowBeam {
  from {
    stroke-dashoffset: 44;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* Central Junction Hub */
.qflow-junction-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 4;
  pointer-events: none;
}

.qflow-junction-node {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--quasar-blue) 0%, var(--quasar-cyan) 100%);
  box-shadow: 0 0 20px rgba(0, 198, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border: 3px solid #ffffff;
  animation: qflowHubPulse 3s infinite ease-in-out;
}

[data-theme="dark"] .qflow-junction-node {
  border-color: #07122b;
  box-shadow: 0 0 28px rgba(0, 198, 255, 0.75);
}

@keyframes qflowHubPulse {
  0%, 100% { box-shadow: 0 0 16px rgba(0, 198, 255, 0.45); transform: scale(1); }
  50% { box-shadow: 0 0 32px rgba(0, 198, 255, 0.85); transform: scale(1.08); }
}

.qflow-junction-label {
  margin-top: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-primary);
  background: var(--bg-card);
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   3. Subsidiary Nodes Grid (1: Tarumitra, 2: Panditity)
   -------------------------------------------------------------------------- */
.qflow-subsidiaries-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

.qflow-sub-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem 2.25rem;
  box-shadow: var(--card-shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.qflow-sub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  transition: opacity 0.3s ease;
}

/* Tarumitra card theme (Emerald & Green-Tech) */
.qflow-sub-card.card-tarumitra {
  border-color: rgba(16, 185, 129, 0.32);
}

.qflow-sub-card.card-tarumitra::before {
  background: linear-gradient(90deg, #10b981 0%, #00c6ff 100%);
}

.qflow-sub-card.card-tarumitra:hover {
  transform: translateY(-8px);
  border-color: #10b981;
  box-shadow: 0 20px 50px rgba(16, 185, 129, 0.2);
}

/* Panditity card theme (Cobalt Blue & Intelligent Platforms) */
.qflow-sub-card.card-panditity {
  border-color: rgba(0, 102, 255, 0.32);
}

.qflow-sub-card.card-panditity::before {
  background: linear-gradient(90deg, #0066ff 0%, #00c6ff 100%);
}

.qflow-sub-card.card-panditity:hover {
  transform: translateY(-8px);
  border-color: #0066ff;
  box-shadow: 0 20px 50px rgba(0, 102, 255, 0.22);
}

/* Sub-card Topbar with Branch Identifier & Parent Link */
.qflow-sub-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.qflow-branch-num {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.card-tarumitra .qflow-branch-num {
  color: #059669;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.card-panditity .qflow-branch-num {
  color: #0066ff;
  background: rgba(0, 102, 255, 0.12);
  border: 1px solid rgba(0, 102, 255, 0.28);
}

[data-theme="dark"] .card-tarumitra .qflow-branch-num {
  color: #34d399;
  background: rgba(16, 185, 129, 0.2);
}

[data-theme="dark"] .card-panditity .qflow-branch-num {
  color: #38bdf8;
  background: rgba(0, 102, 255, 0.22);
}

.qflow-parent-link-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
}

.qflow-parent-link-badge svg {
  color: var(--quasar-cyan);
}

/* Logo Presentation Box - Sample / Editable Logo Container */
.qflow-logo-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 1.25rem 1.75rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  position: relative;
  min-height: 82px;
}

[data-theme="dark"] .qflow-logo-card {
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.4);
}

.qflow-comp-logo {
  max-height: 54px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  display: block;
  align-items: center;
}

.qflow-logo-edit-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #475569;
  background: #f1f5f9;
  border: 1px dashed #94a3b8;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  white-space: nowrap;
}

/* Company Titles & Subtitles */
.qflow-comp-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.qflow-comp-subtitle {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: block;
}

.card-tarumitra .qflow-comp-subtitle {
  color: #059669;
}
.card-panditity .qflow-comp-subtitle {
  color: var(--quasar-blue);
}
[data-theme="dark"] .card-tarumitra .qflow-comp-subtitle {
  color: #34d399;
}
[data-theme="dark"] .card-panditity .qflow-comp-subtitle {
  color: var(--quasar-cyan);
}

.qflow-comp-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1;
}

/* Feature tags */
.qflow-tags-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.qflow-pill-tag {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

/* Specs Strip */
.qflow-specs-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.9rem;
  margin-bottom: 1.75rem;
  text-align: center;
}

.qflow-spec-item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.qflow-spec-item span {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* Action Buttons */
.qflow-card-actions {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.btn-emerald {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  border: none;
  font-weight: 700;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.28);
  transition: all 0.3s ease;
}
.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
  color: #ffffff;
}

.btn-sapphire {
  background: linear-gradient(135deg, #0052cc 0%, #0066ff 100%);
  color: #ffffff;
  border: none;
  font-weight: 700;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
  transition: all 0.3s ease;
}
.btn-sapphire:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 102, 255, 0.45);
  color: #ffffff;
}

.btn-link-action {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}
.btn-link-action:hover {
  color: var(--quasar-blue);
}

/* --------------------------------------------------------------------------
   4. Shared Enterprise Foundation / Synergy Backbone
   -------------------------------------------------------------------------- */
.qflow-backbone-section {
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px dashed var(--border-color);
}

.qflow-backbone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.qflow-backbone-box {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.6rem 1.4rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.qflow-backbone-box:hover {
  border-color: var(--quasar-blue);
  transform: translateY(-3px);
  box-shadow: var(--card-shadow);
}

.qflow-backbone-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 102, 255, 0.1);
  color: var(--quasar-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

[data-theme="dark"] .qflow-backbone-icon {
  background: rgba(0, 198, 255, 0.15);
  color: var(--quasar-cyan);
}

.qflow-backbone-info h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.qflow-backbone-info p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* --------------------------------------------------------------------------
   5. Responsive Mobile Flowchart Fallback
   -------------------------------------------------------------------------- */
.qflow-mobile-connector {
  display: none;
}

@media (max-width: 991px) {
  .qflow-connector-area {
    display: none;
  }
  .qflow-mobile-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem 0;
    position: relative;
  }
  .qflow-mobile-line {
    width: 3px;
    height: 48px;
    background: linear-gradient(180deg, var(--quasar-blue) 0%, var(--quasar-cyan) 100%);
    border-radius: 3px;
  }
  .qflow-mobile-badge {
    margin: 0.6rem 0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-primary);
    background: var(--bg-tertiary);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
  }
  .qflow-subsidiaries-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .qflow-backbone-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .qflow-board {
    padding: 2.25rem 1.25rem;
  }
  .qflow-specs-strip {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}



