/* ==========================================================================
   AADHYA NEXT GEN TECHNOLOGIES - LIGHT THEME MASTER DESIGN SYSTEM
   Modern, Clean, High-Contrast Tech Theme Matching Brand Logo Colors
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Sora:wght@500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* ── Background Surfaces (clean corporate white) ─────── */
  --bg-body:    #FBFCFE;   /* Near-white, faint cool tint */
  --bg-card:    #FFFFFF;
  --bg-surface: #FFFFFF;
  --bg-muted:   #F2F5F9;   /* Cool slate panel */
  --bg-subtle:  #E8EDF4;
  --bg-lavender: #EEF2FB;  /* Gentle blue wash */

  /* ── Ink / Dark surfaces (SpaceX-style hero & footer) ── */
  --ink-900:    #070B18;   /* Deepest space navy-black */
  --ink-800:    #0B1120;   /* Hero base */
  --ink-700:    #111A2E;   /* Panels on dark */
  --bg-dark:    #0B1120;

  /* ── Typography (eye-friendly deep slate, not pure black) */
  --text-main: #0F1B33;    /* Deep navy — headings */
  --text-body: #3E4C67;    /* Comfortable slate body */
  --text-muted: #64748B;   /* Muted slate */
  --text-dim:  #94A3B8;    /* Dim label text */
  --text-on-dark:     #EEF3FB;  /* Body text on dark */
  --text-on-dark-dim: #A7B4CC;  /* Muted text on dark */

  /* ── Single-Color Brand Palette (dark blue · navy · white) ──
     One accent blue everywhere. Legacy accent names all alias to it
     so decorative violet/amber/cyan usages collapse to the single blue. */
  --color-primary:  #1D4ED8;    /* Dark blue — the single brand accent */
  --color-primary-600: #1E40AF; /* Hover / deeper */
  --color-primary-400: #3B82F6; /* Lighter tint */
  --color-indigo:   #1D4ED8;    /* alias → primary */
  --color-violet:   #1D4ED8;    /* alias → primary */
  --color-sky:      #1D4ED8;    /* alias → primary */
  --color-rose:     #E11D48;    /* functional: error/alert only */
  --color-amber:    #1D4ED8;    /* alias → primary */
  --color-orange:   #1D4ED8;    /* alias → primary */
  --color-emerald:  #059669;    /* functional: success/live dot only */
  --color-cyan:     #1D4ED8;    /* alias → primary (legacy compat) */
  --color-blue:     #1D4ED8;    /* alias → primary (legacy compat) */
  --color-purple:   #1D4ED8;    /* alias → primary (legacy compat) */
  --color-magenta:  #1D4ED8;    /* alias → primary (legacy compat) */

  /* Accent for use on the dark hero (single luminous blue) */
  --accent-on-dark: #60A5FA;
  --accent-glow:    #3B82F6;

  /* ── "Gradients" flattened to SOLID single color (no gradients) ──
     Kept as variables so .text-gradient / buttons render solid blue. */
  --grad-brand:       var(--color-primary);
  --grad-next:        var(--color-primary);
  --grad-gen:         var(--color-primary);
  --grad-accent:      var(--color-primary);
  --grad-cta:         var(--color-primary);
  --grad-on-dark:     var(--accent-on-dark);
  --grad-card-header: rgba(29, 78, 216, 0.04);
  --grad-hero-glow:   radial-gradient(ellipse at 30% -10%, rgba(29,78,216,0.08) 0%, transparent 70%);
  --grad-section-alt: #F2F5F9;

  /* ── Borders & Shadows (crisp corporate) ─────────────── */
  --border-light:  1px solid #E6EBF2;
  --border-hover:  1px solid #BFD3FE;
  --border-radius-sm:   8px;
  --border-radius-md:   14px;
  --border-radius-lg:   20px;
  --border-radius-xl:   28px;
  --border-radius-pill: 9999px;

  --shadow-sm:    0 1px 3px rgba(15, 27, 51, 0.06);
  --shadow-card:  0 10px 30px -10px rgba(15, 27, 51, 0.12), 0 4px 10px -4px rgba(15, 27, 51, 0.06);
  --shadow-hover: 0 24px 50px -14px rgba(37, 99, 235, 0.24), 0 8px 20px -8px rgba(79, 70, 229, 0.12);
  --shadow-glow:  0 0 48px rgba(37, 99, 235, 0.28);

  /* ── Typography Scale (8pt grid) ────────────────────── */
  --text-xs:   0.75rem;     /* 12px — labels, badges     */
  --text-sm:   0.875rem;    /* 14px — small body         */
  --text-base: 1rem;        /* 16px — default body       */
  --text-lg:   1.125rem;    /* 18px — lead / card text   */
  --text-xl:   1.25rem;     /* 20px — card titles        */
  --text-2xl:  1.5rem;      /* 24px — section sub-heads  */
  --text-3xl:  1.875rem;    /* 30px                      */
  --text-4xl:  2.25rem;     /* 36px                      */
  --text-hero: clamp(2.8rem, 5.2vw, 4.6rem);

  /* ── Spacing Scale (8pt grid) ───────────────────────── */
  --sp-1:  0.5rem;    /*  8px */
  --sp-2:  1rem;      /* 16px */
  --sp-3:  1.5rem;    /* 24px */
  --sp-4:  2rem;      /* 32px */
  --sp-5:  2.5rem;    /* 40px */
  --sp-6:  3rem;      /* 48px */
  --sp-8:  4rem;      /* 64px */
  --sp-10: 5rem;      /* 80px */
  --sp-12: 6rem;      /* 96px */
  --sp-16: 8rem;      /* 128px */

  /* ── Section Rhythm ──────────────────────────────────── */
  --section-py:    6rem;
  --section-py-sm: 4rem;

  /* ── Fonts ───────────────────────────────────────────── */
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Sora', 'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* ── Transitions ─────────────────────────────────────── */
  --trans-fast:   0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-medium: 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   BASE RESETS & GLOBAL STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-body);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #EEF2F7;
}
::-webkit-scrollbar-thumb {
  background: #C2CEDD;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #93A2B8;
}

::selection {
  background: rgba(37, 99, 235, 0.18);
  color: var(--text-main);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

p {
  color: var(--text-body);
}

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

.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-next {
  background: var(--grad-next);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gen {
  background: var(--grad-gen);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-accent {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.font-mono {
  font-family: var(--font-mono);
}

.text-cyan { color: var(--color-cyan) !important; }
.text-amber { color: var(--color-amber) !important; }
.text-purple { color: var(--color-purple) !important; }
.text-emerald { color: var(--color-emerald) !important; }

/* Global Container & Spacing */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-py {
  padding: 5.5rem 0;
  position: relative;
}

@media (max-width: 768px) {
  .section-py {
    padding: 3.75rem 0;
  }
}

/* Section Header Badge & Titles */
.section-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(29, 78, 216, 0.07);
  border: 1px solid rgba(29, 78, 216, 0.22);
  border-radius: var(--border-radius-pill);
  padding: 0.35rem 0.95rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 auto 1.1rem auto;
  text-align: center;
}

.text-center {
  text-align: center !important;
}

.text-center .section-badge,
.hero-content .section-badge,
.text-center [data-aos].section-badge {
  display: inline-flex !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
}

.section-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--color-emerald);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--color-emerald);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.section-title {
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
  color: var(--text-main);
  text-align: inherit;
}

.text-center .section-title,
.text-center .hero-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  font-weight: 400;
  max-width: 640px;
  margin: 0 auto 2.75rem auto;
  color: var(--text-muted);
  text-align: inherit;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Precise scroll anchors for direct form landing */
#contact,
#contact-form,
#contact-form-section,
.form-card {
  scroll-margin-top: 100px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  transition: var(--trans-medium);
  border: none;
  outline: none;
  position: relative;
  text-decoration: none;
}

.btn-primary {
  background: var(--grad-brand);
  color: #FFFFFF !important;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-main) !important;
  border: 1px solid #CBD5E1;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--color-cyan);
  color: var(--color-blue) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.btn-accent {
  margin-top: 1rem;
  background: var(--grad-accent);
  color: #FFFFFF !important;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   CARDS (LIGHT MODERN CLEAN)
   ========================================================================== */
.glass-card {
  background: var(--bg-card);
  border: var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-card);
  transition: var(--trans-medium);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0;
  transition: var(--trans-medium);
}

.glass-card:hover {
  border-color: #BFDBFE;
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.glass-card:hover::before {
  opacity: 1;
}

/* ==========================================================================
   NAVIGATION BAR — FUTURISTIC FLOATING GLASS PILL
   ========================================================================== */
/* Fixed shell holds the utility strip + floating nav together */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* ── Top utility bar (email / phone / socials) ──────────────
   Collapses smoothly on scroll; the nav below stays put. */
.top-bar {
  background: linear-gradient(90deg, var(--ink-900) 0%, var(--ink-800) 50%, var(--ink-900) 100%);
  color: var(--text-on-dark-dim);
  font-size: 0.8rem;
  overflow: hidden;
  max-height: 44px;
  opacity: 1;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease,
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled .top-bar {
  max-height: 0;
  opacity: 0;
  transform: translateY(-100%);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  gap: 1rem;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-on-dark-dim);
  white-space: nowrap;
  transition: color var(--trans-fast);
}
.top-bar-item i { color: var(--accent-on-dark); font-size: 0.78rem; }
a.top-bar-item:hover { color: #FFFFFF; }

.top-bar-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.14);
}

.top-bar-socials {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-left: 0.4rem;
  padding-left: 0.9rem;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.top-bar-socials a {
  color: var(--text-on-dark-dim);
  font-size: 0.9rem;
  transition: color var(--trans-fast), transform var(--trans-fast);
}
.top-bar-socials a:hover { color: var(--accent-on-dark); transform: translateY(-2px); }

/* Full-width bar: transparent over the hero, solid frosted-white on scroll */
.navbar-wrap {
  position: relative;
  z-index: 2;
  padding: 0.9rem 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--trans-medium), border-color var(--trans-medium),
              box-shadow var(--trans-medium), padding var(--trans-medium);
}

/* Top-bar responsive: trim items so it never wraps or crowds */
@media (max-width: 992px) {
  .top-bar { font-size: 0.75rem; }
  .top-bar-hours,
  .top-bar-left .top-bar-divider { display: none; }
}
@media (max-width: 640px) {
  .top-bar-left { display: none; }
  .top-bar-inner { justify-content: center; }
  .top-bar-right { gap: 0.7rem; }
  .top-bar-item span { display: inline; }
}
@media (max-width: 420px) {
  .top-bar-right .top-bar-item i { font-size: 0.72rem; }
  .top-bar-right { font-size: 0.72rem; gap: 0.55rem; }
  .top-bar-socials { padding-left: 0.55rem; margin-left: 0.2rem; gap: 0.55rem; }
}
/* On the smallest phones the utility bar would clip: drop the long email
   (kept in footer + contact) and keep tap-to-call phone + socials. */
@media (max-width: 480px) {
  .top-bar-right > a.top-bar-item[href^="mailto"],
  .top-bar-right > .top-bar-divider { display: none; }
}

/* Edge-to-edge flex row inside the constrained container */
.navbar-wrap .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Solid frosted bar with hairline + shadow once the user scrolls */
.navbar-wrap.scrolled {
  padding: 0.6rem 0;
  background: rgba(255, 255, 255, 0.82);
  border-bottom-color: rgba(15, 27, 51, 0.08);
  box-shadow: 0 6px 28px -14px rgba(15, 27, 51, 0.25);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 52px;
  width: auto;
  display: block;
  transition: height var(--trans-medium), opacity var(--trans-medium);
}

/* Swap white ↔ dark logo based on scroll state */
.brand-logo .logo-dark { display: none; }
.navbar-wrap.scrolled .brand-logo .logo-light { display: none; }
.navbar-wrap.scrolled .brand-logo .logo-dark { display: block; }

.navbar-wrap.scrolled .brand-logo img {
  height: 46px;
}

@media (max-width: 992px) {
  .brand-logo img { height: 46px; }
  .navbar-wrap.scrolled .brand-logo img { height: 42px; }
}

/* ── Left-aligned link row with a crisp animated underline ──────── */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.35rem;
  margin: 0 auto 0 2rem;   /* logo | links … | actions */
  padding: 0;
}

.nav-link {
  display: flex;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);   /* light over the dark hero */
  position: relative;
  padding: 0.55rem 0.15rem;
  margin: 0 0.55rem;
  transition: color var(--trans-fast);
  white-space: nowrap;
}

/* Animated underline — slides out from the left on hover / active */
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-on-dark);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--trans-medium);
}

.nav-link:hover { color: #FFFFFF; }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: #FFFFFF; }

/* Once scrolled the bar is white → invert link + underline colors */
.navbar-wrap.scrolled .nav-link { color: var(--text-body); }
.navbar-wrap.scrolled .nav-link:hover,
.navbar-wrap.scrolled .nav-link.active { color: var(--color-primary); }
.navbar-wrap.scrolled .nav-link::after { background: var(--color-primary); }

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

/* Phone button — subtle glass chip that lifts on hover */
.nav-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.05rem;
  border-radius: var(--border-radius-pill);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(199, 210, 254, 0.7);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--trans-medium);
}

.nav-phone-btn:hover {
  border-color: var(--color-primary-400);
  color: var(--color-blue);
  background: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(37, 99, 235, 0.35);
}

/* Primary CTA in the header — gradient + glow + sweeping shine */
.nav-actions .btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary-400) 0%, var(--color-primary) 55%, var(--color-primary-600) 100%);
  border: none;
  box-shadow: 0 10px 24px -8px rgba(37, 99, 235, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform var(--trans-medium), box-shadow var(--trans-medium);
}

.nav-actions .btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s ease;
}

.nav-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -8px rgba(37, 99, 235, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.nav-actions .btn-primary:hover::after {
  left: 130%;
}

.mobile-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: var(--grad-brand);
  border: none;
  border-radius: var(--border-radius-pill);
  color: #FFFFFF;
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: 0 6px 18px -6px rgba(99, 102, 241, 0.6);
  transition: var(--trans-medium);
}

.mobile-nav-toggle:hover {
  transform: scale(1.06);
}

/* ── Responsive: collapse to logo + burger below 992px ──── */
@media (max-width: 1160px) {
  .nav-links { gap: 0; }
  .nav-link { padding: 0.5rem 0.8rem; font-size: 0.86rem; }
}

@media (max-width: 992px) {
  .navbar-wrap .nav-container { padding: 0.55rem 0.7rem 0.55rem 1.1rem; }
  .nav-links,
  .nav-phone-btn,
  .nav-actions .btn-primary { display: none; }
  .mobile-nav-toggle { display: inline-flex; }
}

/* Mobile Offcanvas Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(85vw, 340px);
  height: 100vh;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFF 60%, #F3F0FE 100%);
  box-shadow: -18px 0 48px -12px rgba(99, 102, 241, 0.28);
  border-left: 1px solid rgba(199, 210, 254, 0.6);
  z-index: 1001;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #F1F5F9;
}

.drawer-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-nav-links a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-body);
  display: flex;
  align-items: center;
  padding: 0.8rem 1rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid transparent;
  transition: var(--trans-fast);
}

.mobile-nav-links a:hover {
  color: var(--color-blue);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(109, 40, 217, 0.06) 100%);
  border-color: rgba(191, 211, 254, 0.7);
  transform: translateX(4px);
}

/* ==========================================================================
   HERO SLIDER (SWIPER · KEN BURNS · SOFT PASTEL · NEURAL CANVAS OVERLAY)
   ========================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  background: var(--ink-900);
}

/* Swiper root */
.hero-swiper {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  max-height: 940px;
  background: var(--ink-900);
}

.hero-swiper .swiper-slide {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Per-slide media layer (photo) — brightened, tinted for dark cinematic */
.hero-slide-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.12);
  transition: transform 0s;
  will-change: transform;
  filter: saturate(1.05) contrast(1.02);
}

/* Ken Burns slow zoom on the active slide */
.hero-swiper .swiper-slide-active .hero-slide-media {
  transform: scale(1);
  transition: transform 8s ease-out;
}

/* Cinematic DARK scrim — SpaceX style: deep ink, readable white text,
   left-weighted so copy stays legible while the image shows on the right */
.hero-slide-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Center-weighted darkening so centered copy stays readable across the width */
  background:
    radial-gradient(ellipse at 50% 42%, rgba(11, 17, 32, 0.55) 0%, rgba(7, 11, 24, 0.86) 100%),
    linear-gradient(0deg, var(--ink-900) 0%, rgba(7, 11, 24, 0.35) 22%, transparent 50%),
    radial-gradient(ellipse at 50% 22%, rgba(37, 99, 235, 0.26) 0%, transparent 55%);
}

@media (max-width: 768px) {
  .hero-slide-scrim {
    background:
      linear-gradient(180deg, rgba(7, 11, 24, 0.82) 0%, rgba(7, 11, 24, 0.9) 60%, var(--ink-900) 100%),
      radial-gradient(ellipse at 70% 20%, rgba(37, 99, 235, 0.28) 0%, transparent 60%);
  }
}

/* Neural particle canvas layered on top of the slides */
#neural-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.9;
}

/* Slide content */
.hero-swiper .container {
  position: relative;
  z-index: 5;
  width: 100%;
}

.hero-content {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem 1rem 0;
  text-align: center;
}

/* Staggered entrance for the active slide's content */
.hero-swiper .swiper-slide .hero-anim {
  opacity: 0;
  transform: translateY(28px);
}

.hero-swiper .swiper-slide-active .hero-anim {
  animation: heroRise 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-swiper .swiper-slide-active .hero-anim.d1 { animation-delay: 0.15s; }
.hero-swiper .swiper-slide-active .hero-anim.d2 { animation-delay: 0.30s; }
.hero-swiper .swiper-slide-active .hero-anim.d3 { animation-delay: 0.45s; }
.hero-swiper .swiper-slide-active .hero-anim.d4 { animation-delay: 0.60s; }

@keyframes heroRise {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Hero content on DARK cinematic background ───────────── */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.35);
  padding: 0.5rem 1.25rem;
  border-radius: var(--border-radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #DBE7FF;
  margin-bottom: 1.75rem;
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

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

.hero-title {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.35rem;
  color: #FFFFFF;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

/* Accent gradient text tuned bright for the dark hero */
.hero-title .text-gradient {
  background: var(--grad-on-dark);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(0.98rem, 1.1vw, 1.1rem);
  font-weight: 400;
  color: var(--text-on-dark-dim);
  max-width: 620px;
  margin: 0 auto 2.4rem;
  line-height: 1.7;
}

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

/* Secondary button reworked for the dark hero */
.hero-content .btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #EEF3FB !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-content .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--accent-on-dark);
  color: #FFFFFF !important;
}

/* Showreel button on dark hero */
.hero-content .reel-trigger-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #EEF3FB;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-content .reel-trigger-btn:hover {
  border-color: var(--accent-on-dark);
  color: #FFFFFF;
}

/* Swiper navigation arrows — soft glass pills */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(199, 210, 254, 0.6);
  box-shadow: var(--shadow-card);
  color: var(--color-blue);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--trans-medium);
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
  background: var(--grad-brand);
  color: #FFFFFF;
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: var(--shadow-hover);
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
  font-size: 1.05rem;
  font-weight: 700;
}

/* Pagination bullets — lifted above the overlapping metrics band */
.hero-swiper .swiper-pagination {
  bottom: 6rem !important;
}

@media (max-width: 768px) {
  .hero-swiper .swiper-pagination { bottom: 4.5rem !important; }
}

.hero-swiper .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  background: rgba(255, 255, 255, 0.55);
  opacity: 1;
  transition: var(--trans-medium);
}

.hero-swiper .swiper-pagination-bullet-active {
  width: 30px;
  border-radius: 6px;
  background: var(--grad-on-dark);
  box-shadow: 0 0 14px rgba(96, 165, 250, 0.7);
}

@media (max-width: 768px) {
  .hero-swiper .swiper-button-next,
  .hero-swiper .swiper-button-prev { display: none; }
  .hero-content { padding-top: 4rem; text-align: center; margin: 0 auto; }
  .hero-cta-group { justify-content: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
}

/* ==========================================================================
   HERO METRICS STRIP (overlapping band below the slider)
   ========================================================================== */
/* ==========================================================================
   HERO METRICS — FLOATING FROSTED-GLASS BENTO (2026)
   ========================================================================== */
.hero-metrics-wrap {
  position: relative;
  z-index: 20;
  margin-top: -5.5rem;
  padding: 0 1.5rem;
}

.hero-metrics-strip {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  padding: 1.1rem;
  border-radius: var(--border-radius-xl);
  position: relative;
  /* Deep frosted dark-glass panel that bridges the dark hero and light page */
  background: linear-gradient(145deg, rgba(17, 26, 46, 0.92) 0%, rgba(11, 17, 32, 0.94) 100%);
  border: 1px solid rgba(96, 165, 250, 0.18);
  box-shadow:
    0 40px 90px -30px rgba(7, 11, 24, 0.7),
    0 8px 24px -12px rgba(37, 99, 235, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  overflow: hidden;
}

/* Slow-drifting aurora sheen across the whole panel */
.hero-metrics-strip::before {
  content: '';
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.28) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.22) 0%, transparent 42%);
  filter: blur(20px);
  opacity: 0.9;
  animation: metricsAurora 14s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes metricsAurora {
  0%   { transform: translate3d(-4%, -2%, 0) rotate(0deg); }
  100% { transform: translate3d(4%, 3%, 0) rotate(8deg); }
}

@media (max-width: 900px) {
  .hero-metrics-strip { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .hero-metrics-wrap { margin-top: -3.5rem; }
}
@media (max-width: 500px) {
  .hero-metrics-strip { grid-template-columns: 1fr; }
}

.metric-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.35rem 1.25rem;
  border-radius: var(--border-radius-lg);
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.4s ease, border-color 0.4s ease;
  /* Entrance: rise + fade, staggered per card */
  opacity: 0;
  transform: translateY(18px);
  animation: metricRise 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--stagger, 0ms);
}

@keyframes metricRise {
  to { opacity: 1; transform: translateY(0); }
}

.metric-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(96, 165, 250, 0.4);
}

/* Per-card colored glow blob (revealed on hover) */
.metric-glow {
  position: absolute;
  top: -40%;
  right: -30%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  filter: blur(38px);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.metric-card:hover .metric-glow { opacity: 0.55; }
.metric-card[data-accent="blue"]    .metric-glow { background: #3B82F6; }
.metric-card[data-accent="violet"]  .metric-glow { background: #6366F1; }
.metric-card[data-accent="emerald"] .metric-glow { background: #10B981; }
.metric-card[data-accent="amber"]   .metric-glow { background: #F59E0B; }

.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.metric-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #FFFFFF;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.metric-card:hover .metric-icon { transform: scale(1.1) rotate(-5deg); }

.metric-card[data-accent="blue"]    .metric-icon { background: linear-gradient(135deg, #3B82F6, #1D4ED8); box-shadow: 0 8px 20px -6px rgba(37, 99, 235, 0.7); }
.metric-card[data-accent="violet"]  .metric-icon { background: linear-gradient(135deg, #818CF8, #6366F1); box-shadow: 0 8px 20px -6px rgba(99, 102, 241, 0.7); }
.metric-card[data-accent="emerald"] .metric-icon { background: linear-gradient(135deg, #34D399, #059669); box-shadow: 0 8px 20px -6px rgba(5, 150, 105, 0.7); }
.metric-card[data-accent="amber"]   .metric-icon { background: linear-gradient(135deg, #FBBF24, #D97706); box-shadow: 0 8px 20px -6px rgba(217, 119, 6, 0.7); }

/* Live badge on the first tile */
.metric-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #34D399;
  padding: 0.2rem 0.5rem;
  border-radius: var(--border-radius-pill);
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
}
.metric-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: metricPulse 1.8s ease-in-out infinite;
}
@keyframes metricPulse {
  0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
  70%  { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.metric-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-top: 0.35rem;
  display: flex;
  align-items: baseline;
}
.metric-unit {
  font-size: 1.35rem;
  font-weight: 700;
  margin-left: 0.1rem;
}
.metric-card[data-accent="blue"]    .metric-unit { color: #60A5FA; }
.metric-card[data-accent="violet"]  .metric-unit { color: #818CF8; }
.metric-card[data-accent="emerald"] .metric-unit { color: #34D399; }
.metric-card[data-accent="amber"]   .metric-unit { color: #FBBF24; }

.metric-label {
  font-size: 0.85rem;
  color: var(--text-on-dark-dim);
  font-weight: 500;
  line-height: 1.35;
}

@media (prefers-reduced-motion: reduce) {
  .metric-card { animation: none; opacity: 1; transform: none; }
  .hero-metrics-strip::before { animation: none; }
  .metric-live-dot { animation: none; }
}

/* About-summary two-column layout — stacks cleanly on tablet & mobile */
.about-summary-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 880px) {
  .about-summary-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}

/* Reel Button */
.reel-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(199, 210, 254, 0.7);
  padding: 0.5rem 1.25rem 0.5rem 0.6rem;
  border-radius: var(--border-radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: var(--trans-medium);
}

.reel-trigger-btn:hover {
  border-color: var(--color-violet);
  color: var(--color-blue);
  transform: scale(1.03);
}

.play-icon-pulse {
  width: 34px;
  height: 34px;
  background: var(--grad-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 0.75rem;
  animation: playPulse 2.4s ease-in-out infinite;
}

@keyframes playPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(29, 78, 216, 0.5); }
  50% { box-shadow: 0 0 0 10px rgba(29, 78, 216, 0); }
}

/* ==========================================================================
   PAGE HERO — DARK CINEMATIC BANNER FOR INNER PAGES (matches home hero tone)
   ========================================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink-900);
  padding: 10rem 0 4.5rem;
  text-align: center;
}

/* Layered dark backdrop: deep ink + subtle blue glow + fine grid */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% -20%, rgba(59, 130, 246, 0.22) 0%, transparent 55%),
    linear-gradient(180deg, var(--ink-800) 0%, var(--ink-900) 100%);
  z-index: 0;
}

/* Faint technical grid overlay for that engineering feel */
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(96, 165, 250, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 72%);
  z-index: 0;
}

/* Animated constellation canvas injected by JS (sits above backdrop, below content) */
.page-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero .section-badge {
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: #DBE7FF;
}

.page-hero .section-badge .dot {
  background: #60A5FA;
  box-shadow: 0 0 8px #60A5FA;
}

.page-hero .hero-title,
.page-hero .section-title {
  color: #FFFFFF;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.page-hero .hero-title {
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 auto 1.1rem;
}

/* Accent word stays a clean single-color luminous blue on dark */
.page-hero .text-gradient {
  color: var(--accent-on-dark);
  -webkit-text-fill-color: var(--accent-on-dark);
}

.page-hero .section-subtitle {
  color: var(--text-on-dark-dim);
  margin-bottom: 0;
}

/* ==========================================================================
   SITE PRELOADER — themed, single-color
   ========================================================================== */
#site-preloader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--ink-900);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.preloader-mark {
  position: relative;
  width: 66px;
  height: 66px;
}

/* Rotating ring */
.preloader-ring {
  position: absolute;
  inset: 0;
  border: 3px solid rgba(96, 165, 250, 0.18);
  border-top-color: var(--accent-on-dark);
  border-radius: 50%;
  animation: preloaderSpin 0.9s linear infinite;
}

/* Pulsing 'A' mark in the middle */
.preloader-a {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: #FFFFFF;
  animation: preloaderPulse 1.4s ease-in-out infinite;
}

.preloader-text {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-on-dark-dim);
  padding-left: 0.35em;
}

@keyframes preloaderSpin { to { transform: rotate(360deg); } }
@keyframes preloaderPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.9); }
}

/* ==========================================================================
   SCROLL-REVEAL MOTION UTILITIES (progressive, respects reduced motion)
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-slide-media,
  .hero-swiper .swiper-slide-active .hero-slide-media { transition: none; }
}

/* ==========================================================================
   SERVICES SECTION & CARDS
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #FFFFFF;
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--border-radius-sm);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-blue);
  margin-bottom: 1.5rem;
  transition: var(--trans-medium);
}

.service-card:hover .service-icon-box {
  background: var(--grad-brand);
  color: #FFFFFF;
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  color: var(--text-main);
}

.service-card:hover .service-title {
  color: var(--color-blue);
}

.service-desc {
  font-size: 0.94rem;
  color: var(--text-body);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.service-features li {
  font-size: 0.88rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-features li i {
  color: var(--color-emerald);
  font-size: 0.8rem;
}

/* ── Industries page cards ─────────────────────────────────
   These classes had no CSS at all, so the page rendered as bare
   stacked text. Defined here, modelled on the services cards. */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 1024px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .industries-grid { grid-template-columns: 1fr; } }

.industry-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2.25rem 2rem;
  background: #FFFFFF;
  border: 1px solid rgba(15, 27, 51, 0.08);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-card);
  transition: var(--trans-medium);
}
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(37, 99, 235, 0.25);
}

.industry-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--border-radius-sm);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-blue);
  margin-bottom: 1.5rem;
  transition: var(--trans-medium);
}
.industry-card:hover .industry-icon {
  background: var(--grad-brand);
  color: #FFFFFF;
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.industry-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  color: var(--text-main);
}

.industry-desc {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.6;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.service-link:hover {
  gap: 0.7rem;
  color: var(--color-purple);
}

/* ==========================================================================
   PROJECT CARDS WITH SELF-CONTAINED LOCAL GRAPHICS (ZERO BROKEN IMAGES)
   ========================================================================== */
.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: var(--text-body);
  padding: 0.5rem 1.25rem;
  border-radius: var(--border-radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--trans-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--grad-brand);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

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

@media (max-width: 992px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .portfolio-grid { grid-template-columns: 1fr; } }

.project-card {
  border-radius: var(--border-radius-md);
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--trans-medium);
  height: 100%;
}

.project-card:hover {
  border-color: #93C5FD;
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* Self-contained product-mockup banner — full-bleed local SVG, zero broken images */
.project-banner-svg {
  height: 200px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
  border-bottom: 1px solid #E2E8F0;
}

.project-banner-svg svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Subtle bottom fade so the mockup blends into the card body */
.project-banner-svg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 27, 51, 0) 62%, rgba(15, 27, 51, 0.07) 100%);
  pointer-events: none;
}

.project-card:hover .project-banner-svg svg { transform: scale(1.06); }

/* Flagship highlight ribbon (top-right of the banner) */
.featured-ribbon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--grad-brand);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: var(--border-radius-pill);
  box-shadow: 0 6px 16px -6px rgba(29, 78, 216, 0.7);
}

.project-badge-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: 1px solid #CBD5E1;
  box-shadow: var(--shadow-sm);
  padding: 0.28rem 0.75rem;
  border-radius: var(--border-radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  z-index: 2;
}

.project-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 1.25rem;
  flex-grow: 1;
  line-height: 1.6;
}

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

.tech-pill {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-body);
}

/* Highlighted impact / KPI block, pinned to the bottom of every card */
.project-result-metric {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 0.95rem;
  border-radius: var(--border-radius-sm);
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.06) 0%, rgba(59, 130, 246, 0.11) 100%);
  border: 1px solid rgba(29, 78, 216, 0.15);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-body);
}

.result-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--grad-brand);
  color: #FFFFFF;
  font-size: 1rem;
  box-shadow: 0 6px 16px -6px rgba(29, 78, 216, 0.65);
}

.result-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.result-val {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary);
}

.result-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Industry / segment tag above the project title */
.project-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.project-meta i { font-size: 0.72rem; opacity: 0.85; }

/* Flagship card gets a soft brand ring */
.project-card.is-featured {
  border-color: rgba(29, 78, 216, 0.35);
  box-shadow: 0 0 0 1px rgba(29, 78, 216, 0.22), var(--shadow-card);
}
.project-card.is-featured:hover {
  box-shadow: 0 0 0 1px rgba(29, 78, 216, 0.3), var(--shadow-hover);
}

/* Highlighted stats panel beneath the section heading */
.portfolio-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 3rem auto 3.25rem;
  padding: 1.6rem 1rem;
  max-width: 760px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-card);
}
.portfolio-stat {
  flex: 1 1 0;
  min-width: 130px;
  text-align: center;
  padding: 0.4rem 1.5rem;
  position: relative;
}
/* thin divider between adjacent stats */
.portfolio-stat + .portfolio-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 44px;
  background: #E2E8F0;
}
.portfolio-stat .ps-num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}
.portfolio-stat .ps-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.5rem;
}
@media (max-width: 640px) {
  .portfolio-stats {
    margin: 2.25rem auto 2.5rem;
    padding: 1.25rem 0.75rem;
    max-width: 440px;
  }
  .portfolio-stat {
    flex: 1 1 42%;
    padding: 0.85rem 0.5rem;
  }
  .portfolio-stat + .portfolio-stat::before { display: none; }
  .portfolio-stat .ps-num { font-size: 1.7rem; }
}

/* ==========================================================================
   AI SOLUTION ARCHITECT & COST ESTIMATOR (UNIQUE AI FEATURE)
   ========================================================================== */
.ai-estimator-box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

@media (max-width: 992px) {
  .estimator-grid { grid-template-columns: 1fr; }
}

.calc-group {
  margin-bottom: 1.5rem;
}

.calc-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.calc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.calc-pill {
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  transition: var(--trans-fast);
}

.calc-pill.active {
  background: var(--color-blue);
  color: #FFFFFF;
  border-color: var(--color-blue);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.estimator-output-panel {
  background: linear-gradient(160deg, var(--ink-700) 0%, var(--ink-900) 100%);
  color: #FFFFFF;
  border-radius: var(--border-radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.output-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   PRICING & PACKAGES
   ========================================================================== */
.pricing-switch-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.currency-toggle {
  display: inline-flex;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  padding: 0.3rem;
  border-radius: var(--border-radius-pill);
  box-shadow: var(--shadow-sm);
}

.curr-btn {
  padding: 0.4rem 1.2rem;
  border-radius: var(--border-radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: transparent;
  transition: var(--trans-fast);
}

.curr-btn.active {
  background: var(--grad-brand);
  color: #FFFFFF;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

.pricing-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: var(--trans-medium);
}

.pricing-card.featured {
  border-color: #93C5FD;
  box-shadow: 0 15px 35px -5px rgba(37, 99, 235, 0.15);
  transform: scale(1.04);
}

@media (max-width: 992px) { .pricing-card.featured { transform: none; } }

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-brand);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 1rem;
  border-radius: var(--border-radius-pill);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.pricing-plan-name {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.pricing-plan-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.pricing-price-box {
  margin-bottom: 2rem;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.price-curr {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-blue);
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1;
}

.price-period {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.pricing-features li {
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-body);
}

.pricing-features li i {
  color: var(--color-emerald);
  font-size: 0.85rem;
}

.pricing-features li.disabled {
  color: var(--text-dim);
  text-decoration: line-through;
}

.pricing-features li.disabled i {
  color: var(--text-dim);
}

/* ==========================================================================
   CONTACT SECTION & FORM
   ========================================================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
}

@media (max-width: 992px) { .contact-wrapper { grid-template-columns: 1fr; } }

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-sm);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--color-blue);
  flex-shrink: 0;
}

.info-title {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

.info-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
}

.form-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: var(--border-radius-sm);
  padding: 0.85rem 1.15rem;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--trans-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-feedback {
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.92rem;
  margin-top: 1.25rem;
  display: none;
}

.form-feedback.success {
  display: block;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.form-feedback.error {
  display: block;
  background: #FFF1F2;
  border: 1px solid #FECDD3;
  color: #9F1239;
}

/* ==========================================================================
   FLOATING WHATSAPP CTA
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9998;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF !important;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42), 0 2px 6px rgba(15, 23, 42, 0.12);
  transition: var(--trans-medium);
}

.whatsapp-float-btn:hover {
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.65);
}

.whatsapp-tooltip {
  position: absolute;
  left: 68px;
  background: #0F172A;
  color: #FFFFFF;
  padding: 0.45rem 0.9rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--trans-fast);
}

.whatsapp-float-btn:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 480px) {
  .whatsapp-float-btn {
    bottom: 16px;
    left: 16px;
    width: 54px;
    height: 54px;
    font-size: 1.6rem;
  }
  /* Hide the hover tooltip on touch screens where it can overflow */
  .whatsapp-tooltip { display: none; }
}

/* ==========================================================================
   CINEMATIC VIDEO MODAL
   ========================================================================== */
.video-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--trans-medium);
}

.video-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-container {
  width: 100%;
  max-width: 960px;
  background: #000000;
  border: 1px solid #334155;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
}

.video-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

.video-responsive-box {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-responsive-box video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   FOOTER (MODERN DEEP SLATE — CTA STRIP + CLEAN GRID)
   ========================================================================== */
.footer-wrap {
  background: linear-gradient(180deg, var(--ink-800) 0%, var(--ink-900) 100%);
  color: #F8FAFC;
  padding: 0 0 2rem 0;
  position: relative;
  z-index: 10;
}

.footer-wrap p {
  color: #94A3B8;
}

/* ── Top CTA Panel (vibrant gradient, glowing orbs, dot grid) ──── */
.footer-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 0 0 3rem 0;
  padding: 2.25rem 2.5rem;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transform: translateY(-2.5rem);
  background:
    linear-gradient(120deg, #1E3A8A 0%, #1D4ED8 42%, #4F46E5 100%);
  border: 1px solid rgba(147, 197, 253, 0.35);
  box-shadow:
    0 20px 46px -26px rgba(29, 78, 216, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

/* Fine dot-grid texture overlay */
.footer-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(120deg, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(120deg, #000 0%, transparent 70%);
  pointer-events: none;
}

/* Soft glowing orbs */
.footer-cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}
.footer-cta-orb-1 {
  width: 180px; height: 180px;
  top: -90px; right: -45px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.45) 0%, transparent 70%);
}
.footer-cta-orb-2 {
  width: 150px; height: 150px;
  bottom: -95px; left: 12%;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.38) 0%, transparent 70%);
}

.footer-cta-text {
  position: relative;
  z-index: 1;
}

.footer-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #DBEAFE;
  padding: 0.3rem 0.85rem;
  margin-bottom: 0.75rem;
  border-radius: var(--border-radius-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
}
.footer-cta-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: metricPulse 1.8s ease-in-out infinite;
}

.footer-cta-text h3 {
  color: #FFFFFF;
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.footer-cta-accent {
  background: linear-gradient(90deg, #BFDBFE 0%, #FFFFFF 50%, #C7D2FE 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-cta-text p {
  color: rgba(224, 231, 255, 0.92) !important;
  font-size: 0.94rem;
  margin: 0;
  max-width: 42ch;
}

.footer-cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* Solid white primary + glassy outline secondary */
.footer-cta-btn {
  background: #FFFFFF;
  color: #1D4ED8;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--border-radius-pill);
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.4);
  transition: transform var(--trans-medium), box-shadow var(--trans-medium);
}
.footer-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -10px rgba(0, 0, 0, 0.5);
  color: #1E40AF;
}

.footer-cta-btn-alt {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--border-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
  transition: background var(--trans-medium), transform var(--trans-medium);
}
.footer-cta-btn-alt:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  color: #FFFFFF;
}

@media (max-width: 768px) {
  .footer-cta {
    padding: 1.85rem 1.4rem;
    gap: 1.5rem;
    transform: translateY(-2rem);
    margin-bottom: 2.5rem;
    text-align: center;
    justify-content: center;
  }
  .footer-cta-text p { max-width: none; margin-inline: auto; }
  .footer-cta-actions {
    width: 100%;
    justify-content: center;
  }
  .footer-cta-btn,
  .footer-cta-btn-alt {
    flex: 1 1 auto;
  }
}
@media (max-width: 420px) {
  .footer-cta {
    padding: 1.6rem 1.15rem;
    border-radius: var(--border-radius-md);
  }
  .footer-cta-actions { flex-direction: column; }
  .footer-cta-btn,
  .footer-cta-btn-alt { width: 100%; }
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 992px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; } }

.footer-brand p {
  font-size: 0.94rem;
  margin: 1.25rem 0 1.25rem 0;
  max-width: 340px;
}

.footer-lead {
  font-size: 0.85rem;
  color: #94A3B8;
  margin-bottom: 1.25rem;
}
.footer-lead strong { color: #FFFFFF; }

.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  line-height: 1.55;
}
.footer-contact i { margin-top: 0.25rem; }
.footer-contact a { color: #CBD5E1; }
.footer-contact a:hover { color: #FFFFFF; }
.footer-phone { color: #FFFFFF !important; font-weight: 700; }

.footer-newsletter-title {
  font-size: 0.9rem;
  color: #FFFFFF;
  margin: 1.5rem 0 0.5rem 0;
}

.footer-title {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.92rem;
  color: #94A3B8;
}

.footer-links a:hover {
  color: #38BDF8;
  padding-left: 4px;
}

.newsletter-box {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-pill);
  padding: 0.65rem 1.2rem;
  color: #FFFFFF;
  font-size: 0.88rem;
  width: 100%;
}

.newsletter-input:focus {
  outline: none;
  border-color: #38BDF8;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  font-size: 0.95rem;
}

.social-btn:hover {
  background: var(--grad-brand);
  color: #FFFFFF;
  transform: translateY(-3px);
  border-color: transparent;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #64748B;
}
.footer-bottom strong { color: #CBD5E1; }

.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-legal a { color: #94A3B8; }
.footer-legal a:hover { color: #38BDF8; }

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .footer-legal { justify-content: center; }
}

/* ==========================================================================
   AADHYA AI CHATBOT WIDGET
   ========================================================================== */

/* Root container */

.chatbot-root {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99999;
}

/* ── Toggle Button ─────────────────────────────────────── */
.chatbot-toggle-btn {
  position: relative;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1E40AF 100%);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF !important;
  font-size: 1.45rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.45), 0 2px 6px rgba(15, 23, 42, 0.12);
  transition: transform var(--trans-fast), box-shadow var(--trans-fast);
  flex-shrink: 0;
}


.chatbot-toggle-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  opacity: 0;
  animation: chatbotPulse 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes chatbotPulse {
  0%   { transform: scale(1);    opacity: 0.45; }
  100% { transform: scale(1.55); opacity: 0; }
}
.chatbot-toggle-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(29, 78, 216, 0.55);
}
.chatbot-toggle-btn:hover::after { opacity: 0; animation-play-state: paused; }
.chatbot-toggle-btn:active {
  transform: scale(0.95);
}
.chatbot-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Notification badge */
.chatbot-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #EF4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  animation: badgePulse 1.8s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.2); }
}

/* ── Chat Window ───────────────────────────────────────── */
.chatbot-window {
  position: absolute;
  bottom: calc(100% + 16px);
  right: 0;
  width: 372px;
  max-height: min(560px, calc(100vh - 128px));
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18), 0 6px 16px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  /* Hidden state */
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.chatbot-window.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* ── Header ─────────────────────────────────────────────── */
.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1E40AF 100%);
  border-bottom: none;
  flex-shrink: 0;
}
.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chatbot-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: #fff;
  flex-shrink: 0;
}
.chatbot-header-name {
  font-weight: 700;
  font-size: 0.98rem;
  color: #FFFFFF;
  font-family: var(--font-display);
}
.chatbot-header-status {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  align-items: center;
  gap: 5px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  display: inline-block;
  animation: pulse-green 2s ease-in-out infinite;
}
@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.chatbot-header-actions {
  display: flex;
  gap: 6px;
}
.chatbot-action-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans-fast), color var(--trans-fast);
}
.chatbot-action-btn:hover {
  background: rgba(255, 255, 255, 0.30);
  color: #FFFFFF;
}

/* ── Messages Area ──────────────────────────────────────── */
.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #F8FAFC;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 transparent;
}
.chatbot-messages::-webkit-scrollbar {
  width: 5px;
}
.chatbot-messages::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 3px;
}

/* Message bubbles */
.chatbot-msg {
  display: flex;
  gap: 8px;
  animation: msgSlideIn 0.22s ease-out;
}
@keyframes msgSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.chatbot-msg.bot { align-items: flex-start; }
.chatbot-msg.user { flex-direction: row-reverse; }

.chatbot-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1E40AF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: #fff;
  flex-shrink: 0;
  margin-top: 2px;
}

.chatbot-bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.875rem;
  line-height: 1.55;
  word-break: break-word;
}
.chatbot-msg.bot .chatbot-bubble {
  background: #FFFFFF;
  color: var(--text-body);
  border-radius: 4px 16px 16px 16px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}
.chatbot-msg.user .chatbot-bubble {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1E40AF 100%);
  color: #fff;
  border-radius: 16px 4px 16px 16px;
  font-weight: 500;
}

/* Markdown-ish formatting inside bubbles */
.chatbot-bubble strong { color: var(--text-main); font-weight: 700; }
.chatbot-msg.user .chatbot-bubble strong { color: #fff; }
.chatbot-bubble a { color: var(--color-primary); text-decoration: underline; }

/* ── Typing Indicator ───────────────────────────────────── */
.chatbot-typing {
  display: flex;
  align-items: center;
  gap: 8px;
}
.chatbot-typing .chatbot-msg-avatar { flex-shrink: 0; }
.typing-dots {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
  background: #FFFFFF;
  border-radius: 4px 16px 16px 16px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}
.typing-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #94A3B8;
  animation: typingBounce 1.2s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); background: #94A3B8; }
  40%           { transform: translateY(-6px); background: var(--color-primary); }
}

/* ── Quick Reply Chips ──────────────────────────────────── */
.chatbot-chips {
  padding: 8px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px solid #E2E8F0;
  background: #FFFFFF;
  flex-shrink: 0;
}
.chatbot-chip {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--trans-fast), border-color var(--trans-fast), color var(--trans-fast);
  white-space: nowrap;
  font-family: var(--font-body);
}
.chatbot-chip:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* ── Input Area ─────────────────────────────────────────── */
.chatbot-input-wrap {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid #E2E8F0;
  background: #FFFFFF;
  flex-shrink: 0;
}
.chatbot-input {
  flex: 1;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 9px 12px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.875rem;
  resize: none;
  outline: none;
  line-height: 1.4;
  max-height: 100px;
  overflow-y: auto;
  transition: border-color var(--trans-fast), background var(--trans-fast);
}
.chatbot-input::placeholder { color: #94A3B8; }
.chatbot-input:focus {
  border-color: var(--color-primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}
.chatbot-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1E40AF 100%);
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(29, 78, 216, 0.3);
  transition: transform var(--trans-fast), opacity var(--trans-fast);
  flex-shrink: 0;
}
.chatbot-send-btn:hover  { transform: scale(1.08); }
.chatbot-send-btn:active { transform: scale(0.95); }
.chatbot-send-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ── Mobile Responsive ──────────────────────────────────── */
@media (max-width: 480px) {
  .chatbot-root {
    right: 16px;
    bottom: 16px;
  }
  .chatbot-toggle-btn {
    width: 54px;
    height: 54px;
    font-size: 1.3rem;
  }
  .chatbot-window {
    position: fixed;
    right: 12px;
    left: 12px;
    bottom: 84px;
    width: auto;
    max-height: min(72vh, calc(100vh - 110px));
    border-radius: 16px;
  }
}

/* ==========================================================================
   GLOBAL RESPONSIVE HARDENING
   Collapses inline multi-column grids and fixed layouts on smaller screens.
   Inline styles need !important to be overridden by these media rules.
   ========================================================================== */

/* Tablet & below: two-up alternating page-section grids stack to one column */
@media (max-width: 900px) {
  main [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* On the alternating services layout, always show the text block first */
  main [style*="grid-template-columns"] > div {
    order: 0;
  }

  .section-py {
    padding: 3.5rem 0;
  }
}

/* Phones: tighten spacing and guarantee no horizontal overflow */
@media (max-width: 600px) {
  .container {
    padding: 0 1.1rem;
  }

  .section-title {
    font-size: 1.7rem;
    line-height: 1.25;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  /* Images / SVG banners never exceed the viewport */
  main img,
  main svg,
  .glass-card,
  .service-card,
  .pricing-card {
    max-width: 100%;
  }

  /* CTA button rows wrap and go full width for easy tapping */
  main [style*="display: flex"][style*="gap"] .btn,
  .btn-lg {
    flex: 1 1 auto;
  }

  /* Any inline flex row that could overflow wraps instead */
  main [style*="display: flex"] {
    flex-wrap: wrap;
  }
}

/* Very small phones: shrink oversized hero copy so it fits cleanly */
@media (max-width: 400px) {
  .page-hero .hero-title,
  .hero-title {
    font-size: 2rem !important;
  }
}

/* ==========================================================================
   MOBILE RESPONSIVE HARDENING v2
   Padding, class-based flex wrapping, code blocks and forced line-breaks.
   Complements the block above (which handles inline grid/flex layouts).
   ========================================================================== */

/* Inline `grid-column: span N` children keep spanning after their grid
   collapses to one column, spawning an extra track + horizontal clip. */
@media (max-width: 900px) {
  main [style*="grid-column"] { grid-column: auto !important; }
}

/* Large tablet landscape: services grids that carry an inline
   repeat(3,1fr) (which shadows the class breakpoints) drop to 2 columns. */
@media (min-width: 901px) and (max-width: 1024px) {
  main .services-grid[style*="grid-template-columns"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  /* Shared page-hero has a big fixed top pad sized for the desktop header;
     phones need far less or the hero opens with an empty void. */
  .page-hero { padding: 7rem 0 3rem; }

  /* Forced <br> line-breaks in headings splinter awkwardly on narrow screens */
  .hero-title br,
  .section-title br { display: none; }

  /* Card paddings shrink so content isn't crushed on ~320px screens.
     !important also tames inline padding:3rem / 2.5rem glass-cards. */
  .glass-card,
  .service-card,
  .pricing-card,
  .form-card,
  .industry-card { padding: 1.6rem 1.25rem !important; }

  /* AI estimator carries very large fixed paddings that stack */
  .ai-estimator-box { padding: 1.5rem !important; }
  .estimator-output-panel { padding: 1.25rem !important; }

  /* Class-based flex rows (not caught by the inline-flex wrap rule) must
     wrap or they clip under body{overflow-x:hidden}. */
  .output-header,
  .pricing-switch-wrap,
  .pricing-price-box { flex-wrap: wrap; gap: 0.6rem; }

  /* Oversized numerics scale to fit the card */
  .price-amount { font-size: 2rem; }

  /* Portfolio KPI rows: stack label over value instead of cramming them */
  .project-result-metric { flex-direction: column; align-items: flex-start; gap: 0.15rem; }
  .result-val { font-size: 1.15rem; }

  /* Code blocks: smaller type + comfortable padding, contained scroll */
  main pre {
    font-size: 0.72rem;
    padding: 0.9rem;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Wide inline content (code/tables) shrinks instead of blowing out the
     grid track width (min-width:auto overflow fix). */
  main .about-summary-grid > * { min-width: 0; }
}

/* Tablet: a middle padding step for the estimator before the phone size */
@media (max-width: 768px) {
  .ai-estimator-box { padding: 2rem; }
}

