/* ═══════════════════════════════════════════════════
   VYIOM DIGITAL SOLUTIONS — Design System
   ═══════════════════════════════════════════════════ */

/* ── RESET ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

section[id],
[id] {
  scroll-margin-top: calc(var(--nav-h, 70px) + 20px);
}

/* ── DESIGN TOKENS ── */
:root {
  --white: #ffffff;
  --off: #f9fafb;
  --light: #f3f4f6;
  --ink: #0f0f13;
  --ink2: #1f2937;
  --muted: #4b5563;
  --muted2: #9ca3af;
  --border: #e5e7eb;
  --border2: #d1d5db;
  --primary: #0040c5;
  --primary2: #00329e;
  --primary3: #0090e3;
  --primary-light: rgba(0, 64, 197, 0.08);
  --dark: #09090b;
  --dark2: #0f0f13;
  --dark3: #18181b;
  --nav-h: 70px;
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --trans: all 0.25s var(--ease);
  --r: 4px;
}

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 72px);
}

/* ── EYEBROW LABEL ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--primary);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-h);
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-nav.scrolled,
.site-nav.nav-solid {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: none;
  box-shadow: none;
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* ── LOGO ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex: 0 0 auto;
}

.nav-logo-img {
  height: 28px;
  width: auto;
  object-fit: contain;
  transition: filter 0.3s ease;
  filter: brightness(0) invert(1);
}

.site-nav.scrolled .nav-logo-img,
.site-nav.nav-solid .nav-logo-img {
  filter: none;
}

.nav-logo-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.3s ease;
  line-height: 1;
}

.site-nav.scrolled .nav-logo-name,
.site-nav.nav-solid .nav-logo-name {
  color: var(--ink);
}

/* ── DESKTOP LINKS ── */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 1.8vw, 26px);
  list-style: none;
  flex: 0 0 auto;
  margin: 0 0 0 auto;
  padding: 0;
}

.nav-links > li {
  display: inline-flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: rgba(255, 255, 255, 0.75);
  padding: 6px 0;
  position: relative;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* For dropdown toggles, exclude the caret and gap so the underline precisely covers only the text label */
.nav-links a.nav-dropdown-toggle:hover::after,
.nav-links a.nav-dropdown-toggle.active::after {
  width: calc(100% - 18px);
}

.nav-links a.active {
  color: #fff;
}

.site-nav.scrolled .nav-links a,
.site-nav.nav-solid .nav-links a {
  color: var(--muted);
}

.site-nav.scrolled .nav-links a:hover,
.site-nav.nav-solid .nav-links a:hover {
  color: var(--ink);
}

.site-nav.scrolled .nav-links a.active,
.site-nav.nav-solid .nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}


/* ── NAV DROPDOWN (COMPANY MENU - MATCHING REFERENCE) ── */
.nav-item-dropdown {
  position: relative;
  list-style: none;
}

.nav-dropdown-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  line-height: 1;
}

.nav-caret {
  font-size: 8.5px;
  margin-left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform 0.22s ease;
  opacity: 0.8;
}

.nav-item-dropdown:hover .nav-caret,
.nav-item-dropdown:focus-within .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  padding: 8px 0;
  margin: 12px 0 0 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  z-index: 1000;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-dropdown-menu a {
  display: block !important;
  padding: 10px 22px !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #1f2937 !important;
  text-decoration: none !important;
  transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease !important;
  white-space: nowrap !important;
}

.nav-dropdown-menu a::after {
  display: none !important;
}

.nav-dropdown-menu a:hover {
  background: #f8fafc !important;
  color: #0040c5 !important;
  padding-left: 26px !important;
}

/* Mobile Drawer Accordion */
.drawer-dropdown {
  display: flex;
  flex-direction: column;
}

.drawer-dropdown-toggle {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #1e293b !important;
}

.drawer-dropdown-toggle:hover {
  color: #0040c5 !important;
}

.drawer-dropdown-menu {
  display: none;
  flex-direction: column;
  padding-left: 14px;
  border-left: 2px solid #e2e8f0;
  margin: 6px 0 10px 18px;
}

.drawer-dropdown-menu.open {
  display: flex;
}

.drawer-dropdown-menu a {
  font-size: 13.5px !important;
  padding: 8px 12px !important;
  color: #475569 !important;
  border-radius: 4px;
}

.drawer-dropdown-menu a:hover {
  color: #0040c5 !important;
  background: rgba(0, 64, 197, 0.05) !important;
}

/* ── NAV ACTIONS ── */
.nav-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 0 0 auto;
  margin-left: clamp(18px, 1.8vw, 28px);
}

.nav-cta {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  background: #ffffff;
  color: var(--primary, #0040c5);
  border: 2px solid var(--primary, #0040c5);
  border-radius: 0 !important;
  padding: 0 16px;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s ease;
  white-space: nowrap;
  box-sizing: border-box;
  height: 38px;
  line-height: 1;
}

.nav-cta:hover {
  background: var(--primary, #0040c5);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: none !important;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  transition: color 0.3s ease;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.site-nav.scrolled .nav-hamburger,
.site-nav.nav-solid .nav-hamburger {
  color: var(--ink);
}

/* ══════════════════════════════════════════
   MOBILE DRAWER
══════════════════════════════════════════ */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100%;
  height: 100dvh;
  background: #ffffff;
  z-index: 1999;
  display: flex;
  flex-direction: column;
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.12);
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid #e5e7eb;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
  background: #ffffff;
}

.drawer-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0f172a;
}

.drawer-close {
  background: none;
  border: none;
  color: #64748b;
  font-size: 18px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, transform 0.2s;
}

.drawer-close:hover {
  color: #0f172a;
  transform: rotate(90deg);
}

.drawer-links {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  flex: 1;
  background: #ffffff;
}

.drawer-links a {
  color: #1e293b;
  font-size: 15.5px;
  font-weight: 500;
  padding: 14px 24px;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.drawer-links a:hover {
  color: #0040c5;
  background: rgba(0, 64, 197, 0.05);
}

.drawer-links a.active {
  color: #0040c5;
  font-weight: 600;
  background: rgba(0, 64, 197, 0.08);
  border-left-color: #0040c5;
}

.drawer-cta {
  padding: 20px 24px;
  border-top: 1px solid #e5e7eb;
  flex-shrink: 0;
  background: #ffffff;
}

.drawer-cta a {
  display: block;
  text-align: center;
  background: #0040c5;
  color: #ffffff;
  padding: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s;
  border-radius: 0 !important;
  clip-path: none;
}

.drawer-cta a:hover {
  background: #00329e;
  box-shadow: none !important;
}

.drawer-cta a.active {
  background: #00329e;
  box-shadow: none !important;
}

/* ══════════════════════════════════════════
   FOOTER (CLEAN WHITE RESPONSIVE MULTI-COLUMN)
══════════════════════════════════════════ */
.site-footer {
  background: #ffffff;
  color: #111827;
  border-top: 1px solid #e5e7eb;
  padding: 50px 0 24px;
  font-family: 'Poppins', sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1.4fr 1.4fr;
  gap: 40px 30px;
  margin-bottom: 40px;
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.footer-brand-logo img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.footer-brand-logo-name {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0f0f13;
}

.footer-brand-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: #4b5563;
  margin: 0;
  max-width: 360px;
}

.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111827;
  margin: 0 0 18px 0;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: #0040c5;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  color: #4b5563;
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links li a:hover {
  color: #0040c5;
  transform: translateX(3px);
}

.footer-divider {
  height: 1px;
  background: #e5e7eb;
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: #6b7280;
}

.footer-copy {
  margin: 0;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-icon:hover {
  background: #0040c5;
  color: #ffffff;
  border-color: #0040c5;
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }
  .footer-col-brand {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 40px 0 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-col-brand {
    grid-column: span 1;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* ── FLOATING CALL ── */
.float-call {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 990;
  box-shadow: 0 8px 28px rgba(0, 64, 197, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.float-call:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 64, 197, 0.5);
}

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--trans);
  cursor: pointer;
  border: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 0 !important;
}

.btn-purple {
  background: var(--primary);
  color: #fff;
  border-radius: 0 !important;
}

.btn-purple:hover {
  background: var(--primary2);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 64, 197, 0.35);
}

.btn-white {
  background: #fff;
  color: var(--ink);
  border-radius: 0 !important;
}

.btn-white:hover {
  background: var(--off);
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
  border-radius: 0 !important;
}

.btn-dark:hover {
  background: var(--dark3);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  border-radius: 0 !important;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  border-radius: 0 !important;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* ══════════════════════════════════════════
   PULSE DOT
══════════════════════════════════════════ */
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0b57d0;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(0.85);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* ══════════════════════════════════════════
   SECTION DIVIDER
══════════════════════════════════════════ */
.section-line {
  width: 48px;
  height: 3px;
  background: var(--primary);
  margin-bottom: 24px;
}

/* ══════════════════════════════════════════
   RESPONSIVE — TABLET
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .nav-actions .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }
}

/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE
══════════════════════════════════════════ */
@media (max-width: 768px) {
  :root {
    --nav-h: 60px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .footer-logo-link {
    justify-content: center;
  }

  .footer-copy {
    white-space: normal;
    text-align: center;
  }

  .footer-right {
    justify-content: center;
  }

  .footer-socials {
    justify-content: center;
  }

  /* Target the bottom row in footer dynamically on mobile */
  .site-footer .container>div:last-child {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }

  .site-footer .container>div:last-child>div:first-child {
    display: none !important;
  }

  .float-call {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .btn {
    padding: 14px 24px;
    font-size: 12px;
  }
}

/* ══════════════════════════════════════════
   EXPANSION CUSTOM MODULES
   ══════════════════════════════════════════ */

/* ── GRID SYSTEMS ── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {

  .grid-2,
  .grid-3,
  .grid-4,
  .grid-6 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ── 3D FLOATING NEON CARDS ── */
.cards-container-3d {
  perspective: 1200px;
}

.card-3d {
  position: relative;
  background: rgba(15, 15, 20, 0.75);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid transparent;
  border-radius: var(--r);
  padding: 40px 32px;
  color: #fff;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s, border-left-color 0.3s, box-shadow 0.5s;
  text-align: left;
  overflow: hidden;
}

.card-3d::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--shine-x, 50%) var(--shine-y, 50%),
      rgba(255, 255, 255, 0.07) 0%,
      transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.card-3d:hover::after {
  opacity: 1;
}

.card-3d:hover {
  transform: translateY(-10px) rotateX(6deg) rotateY(-6deg) scale(1.02);
  border-color: var(--theme-color);
  border-left-color: var(--theme-color);
  box-shadow: 0 24px 48px var(--theme-shadow);
}

.card-3d h3,
.card-3d p,
.card-3d .acc-tags,
.card-3d .btn {
  transform: translateZ(30px);
  position: relative;
  z-index: 2;
}

.card-3d .card-icon {
  font-size: 32px;
  color: var(--theme-color);
  margin-bottom: 24px;
  transition: transform 0.3s;
  transform: translateZ(40px);
  position: relative;
  z-index: 2;
}

.card-3d:hover .card-icon {
  transform: translateZ(50px) scale(1.1);
}

/* ══════════════════════════════════════════
   GLOBAL COSMIC HERO (MATCHING HOME & SERVICES)
══════════════════════════════════════════ */
.subpage-hero,
.cosmic-hero-sec,
.page-hero,
.culture-hero,
.sust-hero,
.pricing-hero,
.contact-hero,
.about-hero-cosmic,
.contact-hero-cosmic,
.svc-hero-cosmic {
  position: relative !important;
  min-height: 100vh !important;
  min-height: 100svh !important;
  display: flex !important;
  align-items: center !important;
  background-color: #05070f !important;
  background-image: linear-gradient(to right, rgba(5, 7, 15, 0.78) 0%, rgba(5, 7, 15, 0.35) 45%, rgba(5, 7, 15, 0.12) 100%), url('assets/images/services-hero-astronaut.jpg') !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  padding-top: calc(var(--nav-h, 70px) + 50px) !important;
  padding-bottom: 40px !important;
  overflow: hidden !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Page-specific bespoke hero backgrounds */
.subpage-hero.about-hero-cosmic,
.about-hero-cosmic {
  min-height: 100vh !important;
  min-height: 100svh !important;
  background-image: linear-gradient(to right, rgba(5, 7, 15, 0.82) 0%, rgba(5, 7, 15, 0.45) 45%, rgba(5, 7, 15, 0.12) 100%), url('assets/images/about-hero1233.jpg') !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.car-hero-cosmic,
.subpage-hero.careers-hero-cosmic {
  min-height: 100vh !important;
  min-height: 100svh !important;
  background-image: linear-gradient(to right, rgba(5, 7, 15, 0.82) 0%, rgba(5, 7, 15, 0.45) 45%, rgba(5, 7, 15, 0.15) 100%), url('assets/images/3227296_43533.jpg') !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.subpage-hero.contact-hero-cosmic,
.contact-hero-cosmic,
.contact-hero {
  min-height: 100vh !important;
  min-height: 100svh !important;
  background-image: linear-gradient(to right, rgba(5, 7, 15, 0.82) 0%, rgba(5, 7, 15, 0.42) 45%, rgba(5, 7, 15, 0.12) 100%), url('assets/images/39249.jpg') !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.sust-hero,
.subpage-hero.sust-hero-cosmic,
.subpage-hero[aria-label*="Sustainability"] {
  min-height: 100vh !important;
  min-height: 100svh !important;
  background-image: linear-gradient(to right, rgba(5, 7, 15, 0.82) 0%, rgba(5, 7, 15, 0.45) 45%, rgba(5, 7, 15, 0.15) 100%), url('assets/images/124634.jpg') !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.culture-hero,
.subpage-hero.culture-hero-cosmic,
.subpage-hero[aria-label*="Company Culture"],
.subpage-hero[aria-label*="Culture"] {
  min-height: 100vh !important;
  min-height: 100svh !important;
  background-image: linear-gradient(to right, rgba(5, 7, 15, 0.82) 0%, rgba(5, 7, 15, 0.45) 45%, rgba(5, 7, 15, 0.15) 100%), url('assets/images/tyi.png') !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.subpage-hero::before,
.cosmic-hero-sec::before,
.page-hero::before,
.culture-hero::before,
.sust-hero::before,
.pricing-hero::before,
.contact-hero::before,
.about-hero-cosmic::before,
.contact-hero-cosmic::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: radial-gradient(circle at 75% 35%, rgba(6, 182, 212, 0.14) 0%, transparent 60%) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.subpage-hero .container,
.cosmic-hero-sec .container,
.page-hero .container,
.culture-hero .container,
.sust-hero .container,
.pricing-hero .container,
.contact-hero .container {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
}

.subpage-hero-content,
.page-hero-content,
.culture-hero-content,
.sust-hero-content,
.pricing-hero-content,
.contact-hero-content,
.cosmic-hero-card {
  background: #ffffff !important;
  max-width: 780px !important;
  padding: clamp(34px, 4.5vw, 54px) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25) !important;
  position: relative !important;
  z-index: 3 !important;
  margin-top: 24px !important;
  margin-bottom: 0 !important;
  border-radius: 4px !important;
  text-align: left !important;
}

.subpage-hero-content h1,
.page-hero-content h1,
.culture-hero-content h1,
.sust-hero-content h1,
.pricing-hero-content h1,
.contact-hero h1,
.cosmic-hero-card h1 {
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(26px, 3.2vw, 38px) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: #0f172a !important;
  margin: 0 0 16px 0 !important;
  letter-spacing: -0.02em !important;
}

.subpage-hero-content h1 span,
.page-hero-content h1 span,
.culture-hero-content h1 span,
.sust-hero-content h1 span,
.pricing-hero-content h1 span,
.cosmic-hero-card h1 span {
  color: var(--primary, #0040c5) !important;
}

.subpage-hero-content p,
.page-hero-content p,
.culture-hero-content p,
.sust-hero-content p,
.pricing-hero-content p,
.contact-hero-sub,
.cosmic-hero-card p {
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(14px, 1.1vw, 15px) !important;
  font-weight: 400 !important;
  color: #475569 !important;
  line-height: 1.7 !important;
  margin: 0 0 16px 0 !important;
}

.subpage-hero-content p:last-child,
.page-hero-content p:last-child,
.culture-hero-content p:last-child,
.sust-hero-content p:last-child,
.contact-hero-sub:last-child,
.cosmic-hero-card p:last-child {
  margin-bottom: 0 !important;
}

.subpage-hero-content .eyebrow,
.page-hero-content .eyebrow,
.culture-hero-content .eyebrow,
.sust-hero-content .eyebrow,
.pricing-hero-content .eyebrow,
.contact-hero-content .eyebrow,
.cosmic-hero-card .eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: var(--primary2, #00329e) !important;
  margin-bottom: 14px !important;
}

@media (max-width: 768px) {
  .subpage-hero,
  .cosmic-hero-sec,
  .page-hero,
  .culture-hero,
  .sust-hero,
  .pricing-hero,
  .contact-hero {
    min-height: auto !important;
    padding-top: calc(var(--nav-h, 70px) + 30px) !important;
    padding-bottom: 30px !important;
  }
  .subpage-hero-content,
  .page-hero-content,
  .culture-hero-content,
  .sust-hero-content,
  .pricing-hero-content,
  .contact-hero-content,
  .cosmic-hero-card {
    padding: 24px 20px !important;
    margin-top: 15px !important;
  }
}

/* ── GLASS PANELS ── */
.glass-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-left: 3px solid transparent;
  padding: 32px;
  border-radius: var(--r);
  transition: var(--trans), border-left-color 0.25s var(--ease);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary3);
  border-left-color: var(--primary);
  box-shadow: 0 16px 32px rgba(168, 85, 247, 0.05);
}

.glass-card-dark {
  background: rgba(20, 20, 25, 0.6);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 3px solid transparent;
  padding: 32px;
  border-radius: var(--r);
  color: #fff;
  transition: var(--trans), border-left-color 0.25s var(--ease);
}

.glass-card-dark:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.3);
  border-left-color: var(--primary);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

/* ── B2B AUDIENCE TAB SELECTOR ── */
.b2b-tabs-container {
  margin: 40px 0;
}

.b2b-tabs-nav {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
  overflow-x: auto;
}

.b2b-tab-btn {
  background: none;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  padding: 10px 20px;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}

.b2b-tab-btn:hover {
  color: var(--primary);
}

.b2b-tab-btn.active {
  color: var(--primary);
}

.b2b-tab-btn.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 100%;
  height: 3px;
  background: var(--primary);
}

.b2b-tab-panel {
  display: none;
}

.b2b-tab-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── HOW WE WORK / CHRONOLOGICAL TIMELINE (MATCHING IMAGE 1) ── */
.hww-section {
  background: #ffffff;
  padding: 100px 0 120px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hww-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #0040c5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hww-eyebrow-dash {
  display: inline-block;
  width: 16px;
  height: 2px;
  background: #0040c5;
  border-radius: 1px;
}

.hww-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 16px 0;
}

.hww-sub {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(14.5px, 1.2vw, 16px);
  color: #64748b;
  line-height: 1.65;
  max-width: 680px;
  margin: 0 0 52px 0;
}

.timeline-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1080px;
  margin: 0;
  padding-left: 0;
}

.timeline-track::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 36px;
  bottom: 36px;
  width: 1.5px;
  background: #e2e8f0;
  z-index: 1;
}

.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 24px;
  align-items: center;
  z-index: 2;
}

.timeline-dot {
  position: static;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid #0040c5;
  background: #ffffff;
  color: #0040c5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  z-index: 2;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.timeline-step:hover .timeline-dot {
  background: #0040c5;
  color: #ffffff;
  transform: scale(1.06);
  box-shadow: 0 0 0 4px rgba(0, 64, 197, 0.15);
}

.timeline-content {
  background: #ffffff;
  padding: 22px 30px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
}

.timeline-step:hover .timeline-content {
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  transform: translateX(4px);
}

.timeline-title {
  font-family: 'Poppins', sans-serif;
  font-size: 16.5px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 6px 0;
  letter-spacing: -0.01em;
}

.timeline-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 640px) {
  .hww-section {
    padding: 64px 0 80px 0;
  }

  .hww-sub {
    margin-bottom: 36px;
  }

  .timeline-step {
    grid-template-columns: 28px 1fr;
    gap: 16px;
  }

  .timeline-track::before {
    left: 13px;
    top: 30px;
    bottom: 30px;
  }

  .timeline-dot {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .timeline-content {
    padding: 16px 18px;
  }

  .timeline-title {
    font-size: 15.5px;
  }

  .timeline-desc {
    font-size: 13px;
  }
}

/* ── HOW WE WORK (ASCON MINIMALIST EDITORIAL STYLE - MATCHING IMAGE 1) ── */
.ascon-hww-sec {
  background-color: #f3f4f6;
  background-image: radial-gradient(circle at 92% 18%, rgba(0, 64, 197, 0.18) 0%, rgba(59, 130, 246, 0.08) 40%, transparent 68%);
  background-repeat: no-repeat;
  padding: 100px 0 130px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.ascon-header {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 64px;
}

.ascon-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #0040c5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ascon-eyebrow .ascon-sq {
  color: #0040c5;
  font-size: 10px;
}

.ascon-main-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(32px, 4.2vw, 50px);
  font-weight: 500;
  color: #111827;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 0;
}

.ascon-main-title span {
  font-weight: 700;
  color: #0f172a;
}

.ascon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.ascon-intro-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 8px 16px 16px 0;
}

.ascon-intro-h3 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 600;
  color: #1f2937;
  line-height: 1.35;
  margin: 0 0 20px 0;
}

.ascon-intro-p {
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  color: #4b5563;
  line-height: 1.68;
  margin: 0 0 24px 0;
}

.ascon-intro-punch {
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: #111827;
  line-height: 1.5;
  margin-top: auto;
}

.ascon-card {
  background: #ffffff;
  border-radius: 4px;
  padding: 36px 32px 40px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ascon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 64, 197, 0.25);
}

.ascon-schematic {
  height: 60px;
  display: flex;
  align-items: center;
  margin-bottom: 28px;
}

.ascon-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 18px 0;
  letter-spacing: -0.01em;
}

.ascon-card-tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #0040c5;
  letter-spacing: 0.02em;
  margin: 0 0 12px 0;
}

.ascon-card-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  color: #4b5563;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 1024px) {
  .ascon-header {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ascon-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ascon-intro-col {
    grid-column: 1 / -1;
    padding-right: 0;
  }
}

@media (max-width: 680px) {
  .ascon-hww-sec {
    padding: 70px 0 80px 0;
  }

  .ascon-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ascon-card {
    padding: 28px 22px 32px;
  }
}

/* ── BENEFITS & OUTCOMES METRICS ── */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.metric-card {
  text-align: center;
  background: var(--off);
  padding: 32px 24px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: var(--trans);
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.metric-num {
  font-family: 'Poppins', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1;
}

.metric-title {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.metric-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ── FAQ ACCORDION ── */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}

.faq-item {
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: var(--r);
  background: var(--white);
  transition: var(--trans), border-left-color 0.25s var(--ease);
  overflow: hidden;
}

.faq-item.open {
  border-color: var(--primary3);
  border-left-color: var(--primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  text-align: left;
}

.faq-question {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--primary);
  transition: var(--trans);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.faq-body {
  display: none;
  padding: 0 24px 20px 24px;
}

.faq-item.open .faq-body {
  display: block;
}

.faq-answer {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── TECH TAG BADGES ── */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tech-tag {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--light);
  color: var(--ink);
  padding: 4px 10px;
  border-radius: var(--r);
  border: 1px solid var(--border);
}

.tech-tag-dark {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.65);
  padding: 4px 10px;
  border-radius: var(--r);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── RESOURCES & DOWNLOADS ── */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  padding: 24px;
  border-radius: var(--r);
  transition: var(--trans), border-left-color 0.25s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.resource-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  border-left-color: var(--primary);
}

.res-type {
  font-size: 10px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.res-title {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.res-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.res-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
}

.res-btn:hover {
  text-decoration: underline;
}

/* ── CASE STUDIES PORTFOLIOS ── */
.case-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 40px;
  transition: var(--trans), border-left-color 0.25s var(--ease);
}

.case-card:hover {
  border-color: var(--primary3);
  border-left-color: var(--primary);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
}

.case-img-side {
  background-size: cover;
  background-position: center;
  min-height: 320px;
}

.case-content-side {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.case-title {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.case-summary {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.case-metrics {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.case-metric {
  display: flex;
  flex-direction: column;
}

.case-m-val {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.case-m-lbl {
  font-size: 11px;
  color: var(--muted2);
}

@media (max-width: 768px) {
  .case-card {
    grid-template-columns: 1fr;
  }

  .case-img-side {
    min-height: 200px;
  }

  .case-content-side {
    padding: 24px;
  }

  .case-metrics {
    flex-direction: column;
    gap: 12px;
  }
}

/* ── METRICS GRID RESPONSIVE ── */
@media (max-width: 1024px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .resources-grid {
    grid-template-columns: 1fr;
  }
}

/* ── CTA GRID RESPONSIVE ── */
@media (max-width: 768px) {
  .cta-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── ACTIVE STATE ON NAV ── */
.site-nav.scrolled .nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}

/* ── NVIDIA PRODUCT PAGE CARD STYLE ── */
.premium-section-dark {
  background: #08080a !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.premium-card {
  background: #111115;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 40px 32px;
  color: #ffffff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.premium-card:hover {
  border-color: #0040c5;
  box-shadow: 0 12px 30px rgba(0, 64, 197, 0.12);
  transform: translateY(-4px);
}

.premium-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #0040c5;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.premium-card:hover::before {
  opacity: 1;
}

.premium-card h3 {
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.premium-card p {
  font-size: 14px;
  color: #9ca3af;
  line-height: 1.6;
  margin-bottom: 24px;
  font-weight: 300;
}

.premium-card h4 {
  font-family: 'Poppins', sans-serif;
  color: #0040c5;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.premium-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.premium-list li {
  font-size: 13.5px;
  color: #d1d5db;
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  line-height: 1.5;
  font-weight: 300;
}

.premium-list li strong {
  color: #ffffff;
}

.premium-list li::before {
  content: '■';
  position: absolute;
  left: 0;
  color: #0040c5;
  font-size: 8px;
  top: 4px;
}





/* ── ALL BUTTONS RECTANGLE (SHARP CORNERS - ZERO BORDER-RADIUS) ── */
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
[role="button"],
.btn,
.nav-cta,
.nav-btn-price,
.hero-btn,
.hero-btn-primary,
.hero-btn-secondary,
.hero-btn-outline,
.hero-btn-turing-blue,
.hero-btn-turing-ghost,
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-ghost,
.btn-purple,
.btn-white,
.btn-dark,
.btn-quote-hero,
.btn-primary-hero,
.btn-secondary-hero,
.btn-quote-hero,
.smm-explore-btn,
.drawer-cta a,
.drawer-link-price,
.pricing-hero-btns a,
.svc-nav-btn,
.apply-btn-line,
.btn-linkedin-subtle,
.card-action-btn,
.apply-action-btn-large,
.sidebar-apply-btn,
.share-btn,
.price-submit-btn,
.price-download-btn,
.price-drive-btn,
.splash-next-btn,
.badge-action-btn,
.cap-action-link,
.ask-badge,
.cta-btn,
.pricing-btn,
.contact-btn,
.submit-btn,
.filter-btn,
.tab-btn,
.pill-btn,
.read-more-btn,
.case-study-btn,
.explore-btn,
a[class*="btn"],
button[class*="btn"],
a[class*="cta"],
button[class*="cta"] {
  border-radius: 0 !important;
}

button::before,
button::after,
a[class*="btn"]::before,
a[class*="btn"]::after,
.btn::before,
.btn::after {
  border-radius: 0 !important;
}

/* ── GLOBAL ANIMATIONS & HOVER EFFECTS ── */
button,
.hero-btn-primary,
.hero-btn-outline,
.btn-primary,
.nav-cta,
.svc-card-accenture {
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease, background-color 0.3s ease !important;
}

button:hover,
.hero-btn-primary:hover,
.hero-btn-outline:hover,
.btn-primary:hover,
.nav-cta:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 10px 20px rgba(0, 64, 197, 0.15) !important;
}

.svc-card-accenture:hover {
  transform: translateY(-5px) scale(1.01) !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

a {
  transition: color 0.2s ease, opacity 0.2s ease;
}


/* ═══════════════════════════════════════════════════════════════════
   SERVICES MEGA MENU FLYOUT (HIGH SPECIFICITY TO OVERRIDE .nav-links)
   ═══════════════════════════════════════════════════════════════════ */

/* Disable all .nav-links a inherits inside the mega menu */
.nav-links .services-mega-menu a,
.services-mega-menu a {
  all: unset;
  box-sizing: border-box;
}

.nav-links .services-mega-menu a::after,
.services-mega-menu a::after,
.services-mega-menu *::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
}

.nav-mega-dropdown {
  position: static !important;
}

.services-mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 960px;
  max-width: 96vw;
  height: 480px;
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16), 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex !important;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
  pointer-events: none;
  z-index: 1000;
  margin-top: 6px;
  box-sizing: border-box;
}

.nav-mega-dropdown:hover .services-mega-menu,
.nav-mega-dropdown:focus-within .services-mega-menu,
.services-mega-menu.open {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(-50%) translateY(0) !important;
  pointer-events: auto !important;
}

/* Mega Menu Left Column */
.services-mega-menu .smm-left {
  width: 320px;
  min-width: 320px;
  height: 100% !important;
  background: #f8fafc !important;
  border-right: 1px solid #eef2f6 !important;
  padding: 10px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.services-mega-menu .smm-left::-webkit-scrollbar {
  width: 5px;
}

.services-mega-menu .smm-left::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

/* Service Item in Left Column */
.nav-links .services-mega-menu .smm-item,
.services-mega-menu .smm-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.18s ease !important;
  margin-bottom: 2px !important;
  box-sizing: border-box !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  text-decoration: none !important;
}

.nav-links .services-mega-menu .smm-item-left,
.services-mega-menu .smm-item-left {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.nav-links .services-mega-menu .smm-item-icon,
.services-mega-menu .smm-item-icon {
  width: 28px !important;
  height: 28px !important;
  border-radius: 6px !important;
  background: rgba(0, 64, 197, 0.08) !important;
  color: #0040c5 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
  flex-shrink: 0 !important;
  transition: all 0.18s ease !important;
}

.nav-links .services-mega-menu .smm-item-text,
.services-mega-menu .smm-item-text {
  font-family: 'Poppins', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  letter-spacing: -0.01em !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  transition: color 0.18s ease !important;
}

.nav-links .services-mega-menu .smm-item-chevron,
.services-mega-menu .smm-item-chevron {
  font-size: 11px !important;
  color: #94a3b8 !important;
  transition: transform 0.18s ease, color 0.18s ease !important;
}

/* Hover & Active states for Left Items */
.nav-links .services-mega-menu .smm-item:hover,
.services-mega-menu .smm-item:hover,
.nav-links .services-mega-menu .smm-item.active,
.services-mega-menu .smm-item.active {
  background: #ffffff !important;
  border-color: rgba(0, 64, 197, 0.15) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
}

.nav-links .services-mega-menu .smm-item:hover .smm-item-icon,
.services-mega-menu .smm-item:hover .smm-item-icon,
.nav-links .services-mega-menu .smm-item.active .smm-item-icon,
.services-mega-menu .smm-item.active .smm-item-icon {
  background: #0040c5 !important;
  color: #ffffff !important;
}

.nav-links .services-mega-menu .smm-item:hover .smm-item-text,
.services-mega-menu .smm-item:hover .smm-item-text,
.nav-links .services-mega-menu .smm-item.active .smm-item-text,
.services-mega-menu .smm-item.active .smm-item-text {
  color: #0040c5 !important;
}

.nav-links .services-mega-menu .smm-item:hover .smm-item-chevron,
.services-mega-menu .smm-item:hover .smm-item-chevron,
.nav-links .services-mega-menu .smm-item.active .smm-item-chevron,
.services-mega-menu .smm-item.active .smm-item-chevron {
  color: #0040c5 !important;
  transform: translateX(3px) !important;
}

/* Mega Menu Right Panel */
.services-mega-menu .smm-right {
  flex: 1 !important;
  height: 100% !important;
  background: #ffffff !important;
  padding: 30px 34px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.services-mega-menu .smm-panel {
  display: none;
  animation: smmFade 0.2s ease forwards;
}

.services-mega-menu .smm-panel.active {
  display: block !important;
}

@keyframes smmFade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.services-mega-menu .smm-panel-content {
  display: grid !important;
  grid-template-columns: 1fr 230px !important;
  gap: 24px !important;
  align-items: center !important;
}

.services-mega-menu .smm-panel-title {
  font-family: 'Poppins', sans-serif !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 0 0 8px 0 !important;
  line-height: 1.25 !important;
}

.services-mega-menu .smm-panel-desc {
  font-family: 'Poppins', sans-serif !important;
  font-size: 13.5px !important;
  color: #64748b !important;
  line-height: 1.6 !important;
  margin: 0 0 16px 0 !important;
}

.services-mega-menu .smm-sub-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 22px 0 !important;
}

.services-mega-menu .smm-sub-list li {
  font-family: 'Poppins', sans-serif !important;
  font-size: 13px !important;
  color: #334155 !important;
  font-weight: 500 !important;
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  margin-bottom: 9px !important;
  line-height: 1.4 !important;
}

.services-mega-menu .smm-sub-list li i {
  color: #0040c5 !important;
  font-size: 13px !important;
  flex-shrink: 0 !important;
}

/* Explore Button */
.nav-links .services-mega-menu .smm-explore-btn,
.services-mega-menu .smm-explore-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #0040c5 !important;
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
  border-radius: 0 !important;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.2s !important;
  box-shadow: 0 4px 12px rgba(0, 64, 197, 0.2) !important;
  cursor: pointer !important;
  width: auto !important;
  white-space: nowrap !important;
}

.nav-links .services-mega-menu .smm-explore-btn:hover,
.services-mega-menu .smm-explore-btn:hover {
  background: #1d4ed8 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

.services-mega-menu .smm-panel-img {
  width: 230px !important;
  height: 150px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
  display: block !important;
}

/* On-Page Service Navigator Section in services.html */
.service-nav-section {
  padding: 80px 0 90px;
  background: #f8fafc;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.service-nav-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  display: grid;
  grid-template-columns: 340px 1fr;
  overflow: hidden;
  height: 500px;
}

.service-nav-card .smm-left {
  width: 100%;
  height: 100%;
  background: #f8fafc;
  border-right: 1px solid #eef2f6;
  padding: 10px;
  overflow-y: auto;
}

.service-nav-card .smm-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.18s ease;
  margin-bottom: 2px;
  text-decoration: none;
}

.service-nav-card .smm-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-nav-card .smm-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(0, 64, 197, 0.08);
  color: #0040c5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.service-nav-card .smm-item-text {
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
}

.service-nav-card .smm-item-chevron {
  font-size: 11px;
  color: #94a3b8;
}

.service-nav-card .smm-item:hover,
.service-nav-card .smm-item.active {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.service-nav-card .smm-item:hover .smm-item-icon,
.service-nav-card .smm-item.active .smm-item-icon {
  background: #0040c5;
  color: #ffffff;
}

.service-nav-card .smm-item:hover .smm-item-text,
.service-nav-card .smm-item.active .smm-item-text {
  color: #0040c5;
}

.service-nav-card .smm-item:hover .smm-item-chevron,
.service-nav-card .smm-item.active .smm-item-chevron {
  color: #0040c5;
  transform: translateX(3px);
}

.service-nav-card .smm-right {
  flex: 1;
  height: 100%;
  background: #ffffff;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.service-nav-card .smm-panel {
  display: none;
  animation: smmFade 0.2s ease forwards;
}

.service-nav-card .smm-panel.active {
  display: block;
}

.service-nav-card .smm-panel-content {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 28px;
  align-items: center;
}

.service-nav-card .smm-panel-title {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px 0;
  line-height: 1.25;
}

.service-nav-card .smm-panel-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 18px 0;
}

.service-nav-card .smm-sub-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.service-nav-card .smm-sub-list li {
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  color: #334155;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.service-nav-card .smm-sub-list li i {
  color: #0040c5;
  font-size: 13px;
}

.service-nav-card .smm-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0040c5;
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 0 !important;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 14px rgba(0, 64, 197, 0.25);
}

.service-nav-card .smm-explore-btn:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.service-nav-card .smm-panel-img {
  width: 240px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
  .services-mega-menu {
    display: none !important;
  }

  .service-nav-card {
    grid-template-columns: 1fr;
    height: auto;
  }

  .service-nav-card .smm-panel-content {
    grid-template-columns: 1fr;
  }
}


/* ─── HOVER BRIDGES & CLICK PINNING (STABLE ZERO-FLICKER MENUS) ─── */
.nav-mega-dropdown,
.nav-item-dropdown {
  position: relative;
}

.nav-mega-dropdown {
  position: static !important;
}

/* Invisible hover bridge: covers the gap between navbar and dropdown */
.services-mega-menu::before {
  content: '' !important;
  position: absolute !important;
  top: -28px !important;
  left: 0 !important;
  width: 100% !important;
  height: 28px !important;
  background: transparent !important;
  pointer-events: auto !important;
  display: block !important;
  z-index: 1001 !important;
}

.nav-dropdown-menu::before {
  content: '' !important;
  position: absolute !important;
  top: -28px !important;
  left: 0 !important;
  width: 100% !important;
  height: 28px !important;
  background: transparent !important;
  pointer-events: auto !important;
  display: block !important;
  z-index: 1001 !important;
}

/* Seamless positioning */
.services-mega-menu {
  margin-top: 0 !important;
  top: 100% !important;
}

.nav-dropdown-menu {
  margin-top: 0 !important;
  top: 100% !important;
}

/* Keep open on hover OR when pinned by click */
.nav-mega-dropdown:hover .services-mega-menu,
.nav-mega-dropdown.menu-pinned .services-mega-menu,
.services-mega-menu.menu-pinned,
.services-mega-menu:hover {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(-50%) translateY(0) !important;
  pointer-events: auto !important;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown.menu-pinned .nav-dropdown-menu,
.nav-dropdown-menu.menu-pinned,
.nav-dropdown-menu:hover {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

.nav-mega-dropdown.menu-pinned .nav-caret,
.nav-item-dropdown.menu-pinned .nav-caret,
.nav-mega-dropdown:hover .nav-caret,
.nav-item-dropdown:hover .nav-caret {
  transform: rotate(180deg) !important;
}


/* ═══════════════════════════════════════════════════════════════
   GET PRICE NAVIGATION & QUOTATION MODAL SYSTEM
   ═══════════════════════════════════════════════════════════════ */

/* Desktop Nav "Get Price" Button */
.nav-btn-price {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  background: var(--primary, #0040c5);
  color: #ffffff !important;
  border: 2px solid var(--primary, #0040c5);
  border-radius: 0 !important;
  padding: 0 16px;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.22s ease;
  white-space: nowrap;
  box-sizing: border-box;
  cursor: pointer;
  height: 38px;
  line-height: 1;
}

.nav-btn-price:hover {
  background: #00329e;
  border-color: #00329e;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: none !important;
}

.nav-btn-price i {
  font-size: 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

/* Mobile Drawer Get Price Links */
.drawer-link-price {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 14px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #0040c5 !important;
  background: rgba(0, 64, 197, 0.06);
  border-left: 3px solid #0040c5;
  margin: 6px 0;
  border-radius: 0 4px 4px 0;
}

.drawer-link-price:hover {
  background: rgba(0, 64, 197, 0.12);
  color: #00329e !important;
}

.drawer-cta-price {
  background: #0040c5 !important;
  color: #ffffff !important;
  border: 1px solid #0040c5 !important;
  margin-bottom: 8px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.drawer-cta-price:hover {
  background: #00329e !important;
}

/* Modal Overlay */
.price-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 29, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.price-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Dialog */
.price-modal-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 64, 197, 0.1);
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.price-modal-overlay.active .price-modal-dialog {
  transform: translateY(0) scale(1);
}

/* Modal Header */
.price-modal-header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.price-modal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0040c5;
  margin-bottom: 8px;
}

.price-modal-title {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  line-height: 1.25;
  margin-bottom: 6px;
}

.price-modal-subtitle {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.5;
}

.price-modal-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #6b7280;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.price-modal-close:hover {
  background: #f3f4f6;
  color: #111827;
  transform: rotate(90deg);
}

/* Modal Body */
.price-modal-body {
  padding: 28px 32px 36px;
}

/* Payment Terms Showcase */
.price-terms-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #0040c5;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 28px;
}

.price-terms-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.price-terms-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price-terms-badge {
  font-size: 11px;
  font-weight: 600;
  background: rgba(0, 64, 197, 0.1);
  color: #0040c5;
  padding: 3px 10px;
  border-radius: 20px;
}

.price-terms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.price-term-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 14px 12px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-term-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.price-term-pct {
  font-size: 22px;
  font-weight: 800;
  color: #0040c5;
  line-height: 1;
  margin-bottom: 6px;
  font-family: 'Poppins', sans-serif;
}

.price-term-label {
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
}

.price-term-desc {
  font-size: 11px;
  color: #64748b;
  line-height: 1.35;
}

/* Additional Services Section */
.price-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.price-addon-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.price-addon-item:hover {
  border-color: #93c5fd;
  background: #f8fafc;
}

.price-addon-item.selected {
  border-color: #0040c5;
  background: rgba(0, 64, 197, 0.03);
}

.price-addon-checkbox {
  margin-top: 3px;
  accent-color: #0040c5;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.price-addon-info h4 {
  font-size: 13.5px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 2px;
}

.price-addon-info p {
  font-size: 11.5px;
  color: #6b7280;
  line-height: 1.35;
  margin: 0;
}

/* Form Fields */
.price-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.price-field-full {
  grid-column: 1 / -1;
}

.price-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.price-field label {
  font-size: 12.5px;
  font-weight: 600;
  color: #374151;
}

.price-field label span {
  color: #dc2626;
}

.price-input,
.price-select,
.price-textarea {
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #ffffff;
  color: #111827;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.price-input:focus,
.price-select:focus,
.price-textarea:focus {
  border-color: #0040c5;
  box-shadow: 0 0 0 3px rgba(0, 64, 197, 0.15);
}

/* Submit Action Button */
.price-submit-btn {
  font-family: 'Poppins', sans-serif;
  width: 100%;
  background: #0040c5;
  color: #ffffff;
  border: none;
  padding: 14px 24px;
  border-radius: 0 !important;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.22s ease;
  box-shadow: 0 4px 12px rgba(0, 64, 197, 0.25);
}

.price-submit-btn:hover {
  background: #00329e;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 64, 197, 0.35);
}

.price-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Success Card */
.price-success-card {
  display: none;
  text-align: center;
  padding: 30px 20px;
}

.price-success-icon {
  width: 64px;
  height: 64px;
  background: #ecfdf5;
  color: #059669;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
}

.price-success-title {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.price-success-desc {
  font-size: 14px;
  color: #4b5563;
  max-width: 500px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.price-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0040c5;
  color: #ffffff !important;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 0 !important;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-bottom: 12px;
}

.price-download-btn:hover {
  background: #00329e;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 64, 197, 0.3);
}

.price-drive-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  color: #1e293b !important;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 0 !important;
  border: 1px solid #cbd5e1;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-bottom: 12px;
}

.price-drive-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.price-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}

/* Responsive Rules for Price Modal */
@media (max-width: 768px) {
  .price-modal-header {
    padding: 20px 20px 16px;
  }

  .price-modal-body {
    padding: 20px;
  }

  .price-terms-grid {
    grid-template-columns: 1fr;
  }

  .price-form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .price-modal-title {
    font-size: 20px;
  }
}