/* =========================================================
   Union Solutions — Mobile-First Design System
   Primary : #1e40af  (Royal Blue)
   Secondary: #f59e0b (Amber Gold)
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@600;700;800&display=swap');

/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
  /* Brand colours */
  --primary:        #1e3a8a; /* Slightly deeper blue for a premium feel */
  --primary-dark:   #172554;
  --primary-light:  #2563eb;
  --primary-subtle: rgba(30,58,138,0.05);
  --primary-border: rgba(30,58,138,0.12);

  --accent:         #f59e0b; /* Warm Amber Gold */
  --accent-dark:    #d97706;
  --accent-deep:    #b45309;
  --accent-light:   #fcd34d;
  --accent-vibrant: #ea580c; /* Solar Tangerine */
  --accent-gradient: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  --accent-gradient-hover: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  --accent-subtle:  rgba(245, 158, 11, 0.10);
  --accent-border:  rgba(245, 158, 11, 0.28);
  --accent-glow:    0 4px 18px rgba(245, 158, 11, 0.35);

  /* Emerald precision & SLA green */
  --emerald:        #10b981;
  --emerald-dark:   #059669;
  --emerald-light:  #34d399;
  --emerald-subtle: rgba(16, 185, 129, 0.12);
  --emerald-border: rgba(16, 185, 129, 0.25);

  /* Backgrounds */
  --bg:             #f8fafc;
  --bg2:            #f1f5f9;
  --surface:        #ffffff;
  --surface-hover:  #f8fafc;

  /* Borders */
  --border:         #e2e8f0;
  --border-light:   #f1f5f9;

  /* Text */
  --text:           #0f172a;
  --text-muted:     #475569;
  --text-light:     #94a3b8;
  --white:          #ffffff;

  /* Feedback */
  --success:        #10b981;
  --error:          #ef4444;

  /* Typography */
  --font-body:      'Inter', system-ui, -apple-system, sans-serif;
  --font-heading:   'Poppins', system-ui, sans-serif;

  --text-xs:        0.75rem;
  --text-sm:        0.875rem;
  --text-base:      1rem;
  --text-md:        1.125rem;
  --text-lg:        1.25rem;
  --text-xl:        1.5rem;
  --text-2xl:       2rem;
  --text-3xl:       2.5rem;
  --text-4xl:       3.5rem;

  --weight-normal:  400;
  --weight-medium:  500;
  --weight-semi:    600;
  --weight-bold:    700;
  --weight-black:   800;

  --leading-tight:  1.25;
  --leading-snug:   1.35;
  --leading-normal: 1.65;
  --leading-loose:  1.80;

  --tracking-tight:   -0.01em;
  --tracking-normal:   0;
  --tracking-wide:     0.02em;
  --tracking-wider:    0.05em;
  --tracking-widest:   0.1em;

  /* Spacing */
  --space-1:   4px;
  --space-2:   8px;
  --space-3:   12px;
  --space-4:   16px;
  --space-5:   20px;
  --space-6:   24px;
  --space-8:   32px;
  --space-10:  40px;
  --space-12:  48px;
  --space-16:  64px;
  --space-20:  80px;
  --space-24:  96px;

  /* Radius */
  --radius-xs:   6px;
  --radius-sm:   10px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-xs:    0 2px 4px rgba(15,23,42,0.03);
  --shadow-sm:    0 4px 12px rgba(15,23,42,0.05);
  --shadow-card:  0 10px 30px -5px rgba(15,23,42,0.08);
  --shadow-hover: 0 20px 40px -10px rgba(15,23,42,0.12);


  /* Transitions */
  --transition:      0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.38s cubic-bezier(0.4, 0, 0.2, 1);

  /* Header heights */
  --topbar-h:  0px;   /* hidden on mobile */
  --navbar-h:  75px;
  --header-h:  calc(var(--topbar-h) + var(--navbar-h));
}

/* Topbar visible on md+ */
@media (min-width: 768px) {
  :root {
    --topbar-h:  36px;
    --navbar-h:  80px;
  }
}

/* =========================================================
   UTILITIES & BASE
   ========================================================= */
.bg-white { background: var(--white); }
.bg-light-grey { background: var(--bg2); }
.bg-soft-blue { background: rgba(30,64,175,0.03); }

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  background: var(--bg);
  color: var(--text);
  line-height: var(--leading-normal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: var(--leading-tight);
  margin-bottom: 0.65rem;
}

h1 {
  font-size: clamp(2rem, 5vw + 1rem, 3.5rem);
  letter-spacing: var(--tracking-tight);
}

h2 {
  font-size: clamp(1.75rem, 4vw + 1rem, 2.5rem);
  letter-spacing: var(--tracking-tight);
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: color var(--transition);
}
a:hover { color: var(--accent-dark); }

ul { list-style: none; }

img, svg {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Touch-friendly minimum tap target */
a, button, [role="button"] {
  min-height: 44px;
  min-width: 44px;
}

/* =========================================================
   LAYOUT
   ========================================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (min-width: 640px)  { .container { padding: 0 var(--space-6); } }
@media (min-width: 1024px) { .container { padding: 0 var(--space-8); } }

/* Section spacing — mobile first, scale up */
.section    { padding: var(--space-12) 0; }
.section-sm { padding: var(--space-10) 0; }

@media (min-width: 768px) {
  .section    { padding: var(--space-16) 0; }
  .section-sm { padding: var(--space-12) 0; }
}
@media (min-width: 1024px) {
  .section    { padding: 120px 0; }
  .section-sm { padding: 80px 0; }
}

/* =========================================================
   SECTION HEADER
   ========================================================= */
.section-header {
  text-align: center;
  margin-bottom: var(--space-8);
}
@media (min-width: 768px) {
  .section-header { margin-bottom: var(--space-12); }
}

.section-header .tag,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-subtle);
  color: var(--accent-deep);
  border: 1px solid var(--accent-border);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.accent-word {
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 55%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
  font-weight: inherit;
}

.section-header h2 {
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  color: var(--text);
}

.section-header p {
  color: var(--text-muted);
  font-size: var(--text-base);
  max-width: 560px;
  margin: var(--space-3) auto 0;
  line-height: var(--leading-loose);
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-weight: var(--weight-semi);
  font-size: var(--text-sm);
  padding: 13px var(--space-6);
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
  text-decoration: none;
}

.btn::after {
  content: "→";
  display: inline-block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.3s ease, opacity 0.3s ease, margin-left 0.3s ease;
  vertical-align: middle;
  white-space: nowrap;
}

.btn:hover::after {
  max-width: 20px;
  opacity: 1;
  margin-left: 8px;
}

/* Primary */
.btn-primary {
  background: var(--primary);
  color: var(--white) !important;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

/* Accent */
.btn-accent {
  background: var(--accent-gradient);
  color: var(--white) !important;
  font-weight: var(--weight-bold);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.btn-accent:hover {
  background: var(--accent-gradient-hover);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(234, 88, 12, 0.42);
}

/* Outline */
.btn-outline {
  background: var(--white);
  color: var(--primary) !important;
  border: 1.5px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

/* CTA banner outline (dark on light bg) */
.cta-banner .btn-outline {
  background: transparent;
  color: var(--primary) !important;
  border-color: var(--primary);
}
.cta-banner .btn-outline:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white) !important;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
}
.badge-accent  { background: var(--accent-subtle); color: var(--accent-dark); border: 1px solid var(--accent-border); }
.badge-primary { background: var(--primary-subtle); color: var(--primary); border: 1px solid var(--primary-border); }

/* =========================================================
   HEADER — TOP BAR + MAIN NAV (mobile-first)
   ========================================================= */
#siteHeader {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
}
#siteHeader.menu-open {
  position: fixed;
  z-index: 10000;
}
#siteHeader.scrolled { box-shadow: var(--shadow-card); }
#siteHeader.scrolled .navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

#headerSpacer {
  display: block;
  height: var(--header-h);
}

/* TOP BAR — hidden on mobile, shown md+ */
.topbar {
  display: none;
  background: var(--primary);
  height: var(--topbar-h);
  align-items: center;
}
@media (min-width: 768px) { .topbar { display: flex; } }

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.topbar-contact a {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: rgba(255,255,255,0.82);
  letter-spacing: var(--tracking-wide);
  transition: color var(--transition);
  min-height: auto;
  min-width: auto;
}
.topbar-contact a:hover { color: var(--white); }
.topbar-contact .tb-icon { width: 13px; height: 13px; opacity: 0.75; flex-shrink: 0; }

.topbar-divider { width: 1px; height: 12px; background: rgba(255,255,255,0.20); flex-shrink: 0; }

.topbar-social { display: flex; align-items: center; gap: var(--space-2); }
.topbar-social a {
  width: 24px; height: 24px;
  border-radius: var(--radius-xs);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.75);
  font-size: 0.7rem;
  transition: all var(--transition);
  min-height: unset; min-width: unset;
}
.topbar-social a:hover {
  background: rgba(255,255,255,0.22);
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}

/* MAIN NAVBAR */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--navbar-h);
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
  display: flex;
  align-items: center;
  position: relative;
  transition: all var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  color: var(--text) !important;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon-img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.logo:hover .logo-icon-img {
  transform: scale(1.08);
}
.logo-text-img {
  height: 60px;
  width: auto;
  object-fit: contain;
}
.footer-brand .logo-text-img {
  height: 80px;
  filter: brightness(0) invert(1);
}
@media (max-width: 480px) {
  .logo { gap: 8px; }
  .logo-icon-img { width: 40px; height: 40px; flex-shrink: 0; }
  .logo-text-img { height: 40px; max-width: calc(100vw - 120px); }
}
@media (max-width: 576px) {
  .logo-icon-img {
    width: 48px;
    height: 48px;
  }
  .logo-text-img {
    height: 48px;
  }
  .footer-brand .logo-icon-img {
    width: 60px;
    height: 60px;
  }
  .footer-brand .logo-text-img {
    height: 64px;
  }
}

.hide-on-mobile { display: none; }
@media (min-width: 768px) { .hide-on-mobile { display: inline; } }

/* Desktop nav links — hidden on mobile */
.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-2);
  height: 100%;
  list-style: none;
}
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-links li { height: 100%; display: flex; align-items: center; }

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: var(--weight-semi);
  color: var(--text-muted);
  padding: 0 var(--space-5);
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  min-height: unset;
  min-width: unset;
  z-index: 1;
}

.nav-links a::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--primary); /* Solid bright hover background */
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::before {
  opacity: 1;
  transform: scale(1);
}

.nav-links a.active {
  color: var(--white);
}

.nav-links a.active::before {
  opacity: 1;
  transform: scale(1);
  background: var(--text); /* Dark background */
}

/* Nav CTA */
.nav-links .nav-cta {
  display: inline-flex;
  height: 40px;
  margin-left: var(--space-4);
  padding: 0 20px;
  background: var(--accent-gradient);
  color: var(--white) !important;
  border-radius: var(--radius-full);
  font-weight: var(--weight-bold);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.28);
  letter-spacing: var(--tracking-wide);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  min-height: unset; min-width: unset;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.nav-links .nav-cta::before { display: none !important; }
.nav-links .nav-cta::after { display: none !important; }
.nav-links .nav-cta:hover {
  background: var(--accent-gradient-hover);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(234, 88, 12, 0.42);
}

/* Hamburger — visible on mobile only */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  transition: background var(--transition);
  flex-shrink: 0;
  min-height: unset; min-width: unset;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle:hover { opacity: 0.8; }
.nav-toggle span {
  display: block;
  width: 28px; height: 3px;
  background: var(--text);
  border-radius: 3px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
@media (min-width: 768px) { .nav-toggle { display: none; } }

/* Mobile dropdown nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: calc(var(--navbar-h) + 12px);
  left: 12px;
  right: 12px;
  width: auto;
  z-index: 9998;
  flex-direction: column;
  max-height: calc(100vh - var(--navbar-h) - 24px);
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 40px -10px rgba(15,23,42,0.25);
  padding: 12px 0;
  animation: slideDownFade 0.35s cubic-bezier(0.16,1,0.3,1);
}
@keyframes slideDownFade {
  from { opacity: 0; transform: translateY(-15px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.mobile-nav.open { display: flex; }

.mobile-nav a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 12px 20px;
  margin: 4px 16px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: var(--weight-semi);
  color: var(--text-muted);
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
  min-height: 48px;
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:active {
  color: var(--primary-dark);
  background: rgba(30, 64, 175, 0.06);
  transform: translateX(4px);
}
.mobile-nav a.active {
  color: var(--primary-dark);
  background: rgba(30, 64, 175, 0.1);
  font-weight: 700;
}

.mobile-nav .nav-cta {
  margin: 12px 16px 4px;
  justify-content: center;
  background: var(--primary);
  color: var(--white) !important;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: var(--weight-semi);
  padding: 14px 20px;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.25);
}
.mobile-nav .nav-cta:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 12px 20px rgba(37, 99, 235, 0.3); }

/* =========================================================
   HERO SLIDER — mobile-first
   ========================================================= */

/* Outer wrapper — fixes position for stat bar absolute */
.hero-slider {
  position: relative;
  width: 100%;
  background: var(--text);          /* fallback while images load */
  overflow: hidden;
}

/* ---- Slide Track (CSS scroll-snap for touch) ---- */
.slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.65s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

/* ---- Individual Slide ---- */
.slider-slide {
  flex: 0 0 100%;
  width: 100%;
  position: relative;
  min-height: 700px;
  height: max-content;
  display: flex;
  align-items: center;
  padding-top: var(--space-10);
  padding-bottom: var(--space-10);
}
@media (max-width: 767px) {
  .slider-slide {
    align-items: stretch; /* Allows .slide-content to stretch full height */
    padding-top: var(--navbar-h);
    min-height: 600px;
  }
}
@media (min-width: 768px) {
  .slider-slide { min-height: 650px; padding-top: 0; padding-bottom: 0; }
}

/* ---- Background image + overlay ---- */
.slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
  transition: transform 10s ease-out;
}
.slider-slide.is-active .slide-bg img {
  transform: scale(1.1);
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,23,42,0.85) 0%,
    rgba(15,23,42,0.60) 40%,
    rgba(15,23,42,0.35) 100%
  );
}

/* ---- Slide content ---- */
.slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--space-8) 0 calc(var(--space-8) + 80px);   /* leave room for stats bar */
}
@media (max-width: 767px) {
  .slide-content {
    padding-top: var(--space-6);
    padding-bottom: calc(var(--space-8) + 30px);
    display: flex;
    flex-direction: column;
  }
  .slide-content .container {
    display: flex;
    flex-direction: column;
    flex: 1;
  }
}
@media (min-width: 768px) {
  .slide-content { padding: var(--space-16) 0 calc(var(--space-8) + 80px); }
}

.slide-inner {
  max-width: 680px;
}
@media (max-width: 767px) {
  .slide-inner {
    text-align: center;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .slider-slide .hero-desc {
    margin-top: 16px;
    margin-bottom: 24px;
    padding: 0;
  }
}

/* Override hero-tag colours for dark slide background */
.slider-slide .hero-tag {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  color: var(--white);
}

/* White heading on slides */
.slider-slide h1 {
  color: var(--white);
  font-size: clamp(1.75rem, 5.5vw, 3.4rem);
  line-height: 1.10;
  margin-bottom: var(--space-5);
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.slider-slide .accent-word { color: var(--accent-light); }

.slider-slide .hero-desc {
  color: rgba(255,255,255,0.85);
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  max-width: 560px;
  margin-bottom: var(--space-8);
  line-height: var(--leading-loose);
  text-shadow: 0 1px 6px rgba(0,0,0,0.20);
}

.slider-slide .hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
@media (max-width: 767px) {
  .slider-slide .hero-actions { 
    justify-content: center;
  }
}

/* ---- Trust Badges under CTA ---- */
.hero-trust-badges {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}
@media (max-width: 767px) {
  .hero-trust-badges { justify-content: center; }
}
.slider-slide.is-active .hero-trust-badges {
  opacity: 1;
  transform: translateY(0);
}
.hero-trust-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: var(--weight-medium);
  letter-spacing: 0.2px;
}
.hero-trust-badges svg {
  width: 16px;
  height: 16px;
  color: var(--accent-light);
}

/* Outline button variant for dark slide background */
.btn-slide-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-weight: var(--weight-semi);
  font-size: var(--text-sm);
  padding: 13px var(--space-6);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
  background: rgba(255,255,255,0.10);
  border: 1.5px solid rgba(255,255,255,0.55);
  color: var(--white) !important;
  backdrop-filter: blur(6px);
}
.btn-slide-outline:hover {
  background: rgba(255,255,255,0.20);
  border-color: var(--white);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255,255,255,0.15);
}

.slider-slide .btn-accent {
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}
.slider-slide .btn-accent:hover {
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

/* ---- Slide content entry animation ---- */
.slide-inner {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}
.slider-slide.is-active .slide-inner {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Prev / Next Arrows ---- */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.28);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(6px);
}
.slider-arrow:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-50%) scale(1.08);
}
.slider-prev { left: var(--space-4); }
.slider-next { right: var(--space-4); }

@media (min-width: 768px) {
  transform: scale(1.02);
  transition: transform 10s ease-out;
}
.slider-slide.is-active .slide-bg img {
  transform: scale(1.1);
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,23,42,0.85) 0%,
    rgba(15,23,42,0.60) 40%,
    rgba(15,23,42,0.35) 100%
  );
}

/* ---- Slide content ---- */
.slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--space-8) 0 calc(var(--space-8) + 80px);   /* leave room for stats bar */
}
@media (max-width: 767px) {
  .slide-content {
    padding-top: var(--space-6);
    padding-bottom: calc(var(--space-8) + 30px);
    display: flex;
    flex-direction: column;
  }
  .slide-content .container {
    display: flex;
    flex-direction: column;
    flex: 1;
  }
}
@media (min-width: 768px) {
  .slide-content { padding: var(--space-16) 0 calc(var(--space-8) + 80px); }
}

.slide-inner {
  max-width: 680px;
}
@media (max-width: 767px) {
  .slide-inner {
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    flex: 1;
    padding: 10% 0;
  }
  .slider-slide .hero-desc {
    margin: 0;
    padding: 0 10px;
  }
}

/* Override hero-tag colours for dark slide background */
.slider-slide .hero-tag {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  color: var(--white);
}

/* White heading on slides */
.slider-slide h1 {
  color: var(--white);
  font-size: clamp(1.75rem, 5.5vw, 3.4rem);
  line-height: 1.10;
  margin-bottom: var(--space-5);
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.slider-slide .accent-word { color: var(--accent-light); }

.slider-slide .hero-desc {
  color: rgba(255,255,255,0.85);
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  max-width: 560px;
  margin-bottom: var(--space-8);
  line-height: var(--leading-loose);
  text-shadow: 0 1px 6px rgba(0,0,0,0.20);
}

.slider-slide .hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
@media (max-width: 767px) {
  .slider-slide .hero-actions { 
    justify-content: center;
  }
}

/* ---- Trust Badges under CTA ---- */
.hero-trust-badges {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}
@media (max-width: 767px) {
  .hero-trust-badges { justify-content: center; }
}
.slider-slide.is-active .hero-trust-badges {
  opacity: 1;
  transform: translateY(0);
}
.hero-trust-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: var(--weight-medium);
  letter-spacing: 0.2px;
}
.hero-trust-badges svg {
  width: 16px;
  height: 16px;
  color: var(--accent-light);
}

/* Outline button variant for dark slide background */
.btn-slide-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-weight: var(--weight-semi);
  font-size: var(--text-sm);
  padding: 13px var(--space-6);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
  background: rgba(255,255,255,0.10);
  border: 1.5px solid rgba(255,255,255,0.55);
  color: var(--white) !important;
  backdrop-filter: blur(6px);
}
.btn-slide-outline:hover {
  background: rgba(255,255,255,0.20);
  border-color: var(--white);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255,255,255,0.15);
}

.slider-slide .btn-accent {
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}
.slider-slide .btn-accent:hover {
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

/* ---- Slide content entry animation ---- */
.slide-inner {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}
.slider-slide.is-active .slide-inner {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Prev / Next Arrows ---- */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.28);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(6px);
}
.slider-arrow:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-50%) scale(1.08);
}
.slider-prev { left: var(--space-4); }
.slider-next { right: var(--space-4); }

@media (min-width: 768px) {
  .slider-arrow { width: 52px; height: 52px; }
  .slider-prev { left: var(--space-6); }
  .slider-next { right: var(--space-6); }
}

/* Hide arrows on mobile (swipe and dots are enough) */
@media (max-width: 767px) { .slider-arrow { display: none !important; } }

/* ---- Dot navigation ---- */
.slider-dots {
  position: absolute;
  bottom: calc(var(--space-4) + 72px);   /* above stats bar */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-2);
  z-index: 10;
}
@media (min-width: 768px) {
  .slider-dots { bottom: calc(var(--space-6) + 72px); }
}
@media (max-width: 767px) {
  .slider-dots {
    bottom: 30px; /* Attach to bottom of slider slide */
    top: auto;
  }
}

.slider-dot {
  width: 8px; height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.40);
  border: none;
  cursor: pointer;
  transition: all 0.35s ease;
  min-height: unset; min-width: unset;
  padding: 0;
}
.slider-dot.active {
  background: var(--white);
  width: 28px;
}
.slider-dot:hover { background: rgba(255,255,255,0.75); }

/* ---- Scroll Indicator ---- */
.hero-scroll-indicator {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: var(--white);
  opacity: 0.6;
  animation: scroll-bounce 2s infinite;
  display: none;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  transition: opacity 0.3s ease, background 0.3s ease;
}
@media (min-width: 768px) { .hero-scroll-indicator { display: flex; } }
.hero-scroll-indicator:hover {
  opacity: 1;
  background: rgba(255,255,255,0.15);
}
@keyframes scroll-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-8px) translateX(-50%); }
  60% { transform: translateY(-4px) translateX(-50%); }
}

/* ---- Stats bar ---- */
.hero-stats-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 10;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.15);
}
@media (max-width: 767px) {
  .hero-stats-bar {
    position: static;
    background: var(--primary-dark);
  }
  .stats-bar-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 10px;
    padding: 24px 16px;
  }
  .stats-bar-inner .stat-bar-item:last-child {
    grid-column: 1 / -1; /* Center the last odd item */
  }
  .stat-bar-item {
    padding: 0;
  }
  .stat-bar-sep {
    display: none;
  }
}

.stats-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: var(--space-3) 0;
}

.stat-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-2) var(--space-5);
  flex: 1 1 auto;
  min-width: 80px;
}

.stat-bar-sep {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.20);
  flex-shrink: 0;
}
/* Hide separators on very small screens */
@media (max-width: 400px) { .stat-bar-sep { display: none; } }

.hero-stats-bar .hero-stat-num {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: var(--weight-black);
  color: var(--accent-light);
  display: block;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.hero-stats-bar .hero-stat-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.70);
  letter-spacing: var(--tracking-wide);
  font-weight: var(--weight-medium);
  margin-top: 3px;
  display: block;
  white-space: nowrap;
}



/* =========================================================
   SERVICE CARDS
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 480px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--white);
  border: 1px solid rgba(241, 245, 249, 0.8);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.35s ease, background-color 0.35s ease;
  cursor: default;
}
@media (min-width: 1024px) { .service-card { padding: var(--space-8); } }

.service-card:hover {
  background: var(--white);
  border-color: rgba(30, 58, 138, 0.25);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(30, 58, 138, 0.15);
}

.service-card-icon {
  width: 80px; height: 80px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: var(--space-4);
  flex-shrink: 0;
  overflow: hidden;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}
.service-card:hover .service-card-icon {
  transform: scale(1.08);
}
.icon-purple { background: rgba(30,64,175,0.10); }
.icon-teal   { background: rgba(245,158,11,0.12); }
.icon-orange { background: rgba(30,64,175,0.07); }

.service-card h3 { font-size: var(--text-base); font-weight: 700; margin-bottom: var(--space-2); color: var(--text); transition: color 0.3s ease; }
.service-card p  { color: var(--text-muted); font-size: var(--text-sm); line-height: var(--leading-loose); transition: color 0.3s ease; margin-bottom: var(--space-4); }

.service-card:hover h3 {
  color: var(--primary);
}
.service-card:hover p {
  color: var(--text-muted);
}
.service-card:hover .svc-link {
  color: var(--primary-light);
}

.card-glow {
  position: absolute;
  top: -40px; right: -40px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: rgba(30,64,175,0.04);
  transition: background var(--transition);
  pointer-events: none;
}
.service-card:hover .card-glow { background: rgba(30,64,175,0.08); }

/* =========================================================
   FEATURES GRID
   ========================================================= */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 560px)  { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  align-items: flex-start;
  box-shadow: var(--shadow-xs);
}
.feature-item:hover {
  background: var(--surface-hover);
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.feature-item:hover .feature-icon {
  transform: scale(1.1);
}
.feature-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  background: var(--primary-subtle);
  transition: transform 0.3s ease;
}
.feature-item h4 { font-size: var(--text-base); margin-bottom: var(--space-1); color: var(--text); }
.feature-item p  { font-size: var(--text-sm); color: var(--text-muted); line-height: var(--leading-loose); }

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-10) var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-card);
}
@media (min-width: 768px) {
  .cta-banner { border-radius: var(--radius-xl); padding: var(--space-16) var(--space-12); }
}

.cta-banner h2 { font-size: clamp(1.4rem, 4vw, 2.2rem); margin-bottom: var(--space-3); color: var(--text); }
.cta-banner p  { color: var(--text-muted); max-width: 500px; margin: 0 auto var(--space-8); font-size: var(--text-base); }
.cta-actions   { display: flex; justify-content: center; gap: var(--space-3); flex-wrap: wrap; }

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
.page-hero {
  padding: calc(var(--header-h) + var(--space-10)) 0 var(--space-10);
  text-align: center;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}
@media (min-width: 768px) {
  .page-hero { padding: calc(var(--header-h) + var(--space-12)) 0 var(--space-12); }
}

.page-hero .tag { margin-bottom: var(--space-3); }
.page-hero h1 { font-size: clamp(1.6rem, 5vw, 2.8rem); margin-bottom: var(--space-3); color: var(--text); }
.page-hero p  { color: var(--text-muted); font-size: var(--text-base); max-width: 580px; margin: 0 auto; line-height: var(--leading-loose); }

/* =========================================================
   ABOUT PAGE — Full Design System
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
}
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; gap: var(--space-12); } }

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  transition: all var(--transition);
}
.value-card:hover {
  border-color: var(--primary-border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.value-card .val-icon { font-size: 1.6rem; margin-bottom: var(--space-2); }
.value-card h4 { font-size: var(--text-sm); margin-bottom: var(--space-1); color: var(--text); }
.value-card p  { font-size: var(--text-xs); color: var(--text-muted); line-height: var(--leading-loose); }

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-xs);
}
@media (min-width: 640px) { .team-card { padding: var(--space-8); } }
.team-card h3 { margin-bottom: var(--space-5); }

.highlight-list { display: flex; flex-direction: column; gap: var(--space-3); }
.highlight-item { display: flex; align-items: flex-start; gap: var(--space-3); font-size: var(--text-sm); line-height: var(--leading-loose); }
.check-icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-subtle);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-dark);
  font-size: 0.65rem;
  font-weight: var(--weight-bold);
  margin-top: 2px;
}

/* ---- About Hero ---- */
.about-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 60%, #f0f9ff 100%);
  padding: calc(var(--header-h) + var(--space-16)) 0 var(--space-16);
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}
@media (min-width: 768px) {
  .about-hero { padding: calc(var(--header-h) + var(--space-20)) 0 var(--space-20); }
}

.about-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.about-hero-inner .tag { margin-bottom: var(--space-4); }
.about-hero-inner h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--text);
  line-height: 1.1;
  margin-bottom: var(--space-5);
}
.about-hero-inner p {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--text-muted);
  line-height: var(--leading-loose);
  margin-bottom: var(--space-8);
}
.about-hero-actions {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* Decorative blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}
.hero-blob-1 {
  width: 400px; height: 400px;
  background: rgba(30, 58, 138, 0.07);
  top: -100px; left: -100px;
}
.hero-blob-2 {
  width: 350px; height: 350px;
  background: rgba(245, 158, 11, 0.06);
  bottom: -80px; right: -80px;
}

/* ---- About Stats Bar ---- */
.about-stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-6) 0;
  box-shadow: var(--shadow-sm);
}
.about-stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.about-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-3) var(--space-6);
  flex: 1 1 auto;
  min-width: 100px;
}
.about-stat-num {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: var(--weight-black);
  color: var(--primary);
  line-height: 1;
}
.about-stat-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  margin-top: 4px;
  white-space: nowrap;
}
.about-stat-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}
@media (max-width: 480px) { .about-stat-sep { display: none; } }

/* ---- Who We Are: Split Grid ---- */
.about-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: start;
}
@media (min-width: 960px) {
  .about-split-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: var(--space-16);
  }
}

.about-story .tag { margin-bottom: var(--space-4); }
.about-story h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  color: var(--text);
  line-height: 1.15;
  margin-bottom: var(--space-5);
}
.about-story > p {
  color: var(--text-muted);
  font-size: var(--text-base);
  line-height: var(--leading-loose);
  margin-bottom: var(--space-4);
}

/* Vision / Mission Row */
.about-vision-mission {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
}
@media (min-width: 540px) {
  .about-vision-mission { grid-template-columns: 1fr 1fr; }
}

.vm-card {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  box-shadow: var(--shadow-xs);
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
}
.vm-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}

.vm-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}
.vm-body h3 {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--text);
  margin-bottom: var(--space-2);
}
.vm-body p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-loose);
}

/* Why Choose Us Card */
.about-why-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
  position: sticky;
  top: calc(var(--header-h) + var(--space-6));
}
@media (max-width: 959px) { .about-why-card { position: static; } }

.about-why-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.about-why-icon {
  width: 36px; height: 36px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.about-why-header h3 {
  font-size: var(--text-lg);
  color: var(--text);
  margin: 0;
}

.about-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}
.about-checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text);
  line-height: var(--leading-loose);
}
.about-check {
  width: 22px; height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.10);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  display: flex; align-items: center; justify-content: center;
  color: #10b981;
  margin-top: 3px;
}
.about-why-cta { width: 100%; }

/* Core Values Grid */
.about-values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 480px) { .about-values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .about-values-grid { grid-template-columns: repeat(4, 1fr); } }

.about-value-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
}
.about-value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.about-value-icon {
  font-size: 2.4rem;
  display: block;
  margin-bottom: var(--space-4);
  transition: transform 0.3s ease;
}
.about-value-card:hover .about-value-icon {
  transform: scale(1.15) rotate(5deg);
}
.about-value-card h3 {
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  color: var(--text);
  margin-bottom: var(--space-3);
}
.about-value-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-loose);
  margin: 0;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: start;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.6fr; } }

.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-xs);
}
@media (min-width: 640px) { .contact-info-card { padding: var(--space-8); } }
.contact-info-card h3 { margin-bottom: var(--space-6); }

.contact-info-item { display: flex; gap: var(--space-4); margin-bottom: var(--space-5); align-items: flex-start; }
.contact-info-item:last-child { margin-bottom: 0; }
.ci-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  background: var(--primary-subtle);
}
.ci-label { font-size: var(--text-xs); color: var(--text-muted); text-transform: uppercase; letter-spacing: var(--tracking-wider); margin-bottom: 3px; font-weight: var(--weight-semi); }
.ci-value { font-size: var(--text-sm); color: var(--text); line-height: var(--leading-loose); }
.ci-value a { color: var(--text); }
.ci-value a:hover { color: var(--primary); }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-xs);
}
@media (min-width: 640px) { .contact-form-card { padding: var(--space-8); } }
.contact-form-card h3 { margin-bottom: var(--space-6); }

.form-group { margin-bottom: var(--space-5); }
.form-row { display: grid; grid-template-columns: 1fr; gap: var(--space-5); }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-group label {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-2);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px var(--space-4);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: all var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(30,64,175,0.10);
}
.form-group textarea { resize: vertical; min-height: 120px; }

#formStatus {
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  display: none;
}
#formStatus.success { background: rgba(22,163,74,0.08); color: var(--success); border: 1px solid rgba(22,163,74,0.22); display: block; }
#formStatus.error   { background: rgba(220,38,38,0.08); color: var(--error);   border: 1px solid rgba(220,38,38,0.22); display: block; }
#formStatus.loading { background: var(--bg2); color: var(--text-muted); border: 1px solid var(--border); display: block; }

/* =========================================================
   CAREERS PAGE
   ========================================================= */
.job-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}
@media (min-width: 640px) { .job-card { align-items: center; } }

.job-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.job-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: var(--primary-border);
}

.job-card-info h3 { 
  font-size: 1.35rem; 
  font-weight: 700; 
  margin-bottom: var(--space-3); 
  color: var(--text); 
  letter-spacing: -0.02em;
}

.job-meta { 
  display: flex; 
  gap: var(--space-3); 
  flex-wrap: wrap; 
  font-size: 0.85rem; 
  color: var(--text-muted); 
}

.job-meta-item { 
  display: flex; 
  align-items: center; 
  gap: 6px; 
  background: #f1f5f9; 
  padding: 6px 12px; 
  border-radius: 20px;
  font-weight: 500;
  color: #475569;
}
.job-meta-item i {
  color: var(--primary);
}

#jobListings { display: flex; flex-direction: column; gap: var(--space-4); }

/* Job Details */
.job-details-hero {
  padding: calc(var(--header-h) + var(--space-10)) 0 var(--space-10);
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}

.back-link {
  display: inline-flex; align-items: center; gap: var(--space-2);
  color: var(--text-muted); font-size: var(--text-sm);
  margin-bottom: var(--space-6); transition: color var(--transition);
  min-height: unset;
}
.back-link:hover { color: var(--primary); }

.job-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: start;
}
@media (min-width: 900px) {
  .job-detail-grid { grid-template-columns: 1.5fr 1fr; }
}

.job-detail-main, .job-detail-sidebar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-xs);
}
@media (min-width: 640px) {
  .job-detail-main { padding: var(--space-10); }
  .job-detail-sidebar { padding: var(--space-8); }
}
.job-detail-main h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); margin-bottom: var(--space-4); }

.job-detail-sidebar {
  position: static;
}
@media (min-width: 900px) {
  .job-detail-sidebar { position: sticky; top: calc(var(--header-h) + 16px); }
}

.job-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin-bottom: var(--space-6); }
.job-meta-cell {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
}
.job-meta-cell .label { font-size: var(--text-xs); color: var(--text-muted); text-transform: uppercase; letter-spacing: var(--tracking-wider); margin-bottom: 2px; }
.job-meta-cell .value { font-size: var(--text-sm); font-weight: var(--weight-semi); color: var(--text); }

.section-divider { border: none; border-top: 1px solid var(--border-light); margin: var(--space-6) 0; }
.prose h3 { font-size: var(--text-md); margin: var(--space-6) 0 var(--space-3); color: var(--text); }
.prose p, .prose li { color: var(--text-muted); font-size: var(--text-sm); line-height: var(--leading-loose); }
.prose ul { list-style: disc; padding-left: var(--space-5); }
.prose li { margin-bottom: var(--space-2); }

#applicationFormContainer { margin-top: var(--space-8); }
#appFormStatus { margin-top: var(--space-4); font-size: var(--text-sm); font-weight: var(--weight-medium); }

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: var(--primary);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: var(--space-10) 0 var(--space-6);
}
@media (min-width: 768px) { footer { padding: var(--space-16) 0 var(--space-8); } }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}
@media (min-width: 560px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px)  { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: var(--space-12); } }

.footer-brand .logo { color: var(--white) !important; }
.footer-brand .logo-name { color: var(--white); }
.footer-brand .logo-tagline { color: rgba(255,255,255,0.55); }
.footer-brand .logo-icon { background: var(--accent); }
.footer-brand p { color: rgba(255,255,255,0.60); font-size: var(--text-sm); max-width: 300px; margin: var(--space-4) 0; line-height: var(--leading-loose); }

.footer-col h4 {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: rgba(255,255,255,0.45);
  margin-bottom: var(--space-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col ul li a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
  min-height: unset;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-col ul li { color: rgba(255,255,255,0.60); font-size: var(--text-sm); line-height: var(--leading-loose); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: var(--space-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.footer-bottom p { font-size: var(--text-xs); color: rgba(255,255,255,0.45); }
.footer-bottom a { color: rgba(255,255,255,0.50); font-size: var(--text-xs); transition: color var(--transition); min-height: unset; }
.footer-bottom a:hover { color: var(--white); }
.footer-links { display: flex; gap: var(--space-5); }

/* =========================================================
   LEGAL PAGES
   ========================================================= */
.legal-page { padding: calc(var(--header-h) + var(--space-10)) 0 var(--space-12); }
.legal-content {
  max-width: 800px; margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-xs);
}
@media (min-width: 640px) { .legal-content { padding: var(--space-12); } }
.legal-content h1 { font-size: clamp(1.4rem, 4vw, 2rem); margin-bottom: var(--space-2); }
.legal-content .meta { color: var(--text-muted); font-size: var(--text-sm); margin-bottom: var(--space-8); }
.legal-content h2 { font-size: var(--text-md); margin: var(--space-6) 0 var(--space-3); color: var(--text); }
.legal-content p, .legal-content li { color: var(--text-muted); font-size: var(--text-sm); line-height: var(--leading-loose); }
.legal-content ul { padding-left: var(--space-4); list-style: disc; }
.legal-content li { margin-bottom: var(--space-2); }

/* =========================================================
   UTILITIES
   ========================================================= */
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.mb-0  { margin-bottom: 0; }
.mb-2  { margin-bottom: var(--space-2); }
.mb-3  { margin-bottom: var(--space-3); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mt-auto { margin-top: auto; }
.w-full  { width: 100%; }

/* =========================================================
   PREMIUM ANIMATIONS (Intersection Observer)
   ========================================================= */
.fade-in, .fade-in-up, .fade-in-left, .fade-in-right, .scale-in {
  opacity: 0;
  will-change: opacity, transform;
}

.fade-in { transform: translateY(20px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-in-up { transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-in-left { transform: translateX(-40px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-in-right { transform: translateX(40px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.scale-in { transform: scale(0.92); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }

.fade-in.visible, .fade-in-up.visible, .fade-in-left.visible, .fade-in-right.visible { opacity: 1; transform: translate(0, 0); }
.scale-in.visible { opacity: 1; transform: scale(1); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .fade-in, .fade-in-up, .fade-in-left, .fade-in-right, .scale-in { opacity: 1; transform: none !important; }
}

/* Staggered Children for grids */
.stagger-children > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.12s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.19s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.26s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.33s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.40s; }
.stagger-children > *:nth-child(7) { transition-delay: 0.47s; }
.stagger-children > *:nth-child(8) { transition-delay: 0.54s; }

/* =========================================================
   TRUST BAR
   ========================================================= */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-4) 0;
}
.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  text-align: center;
}
.trust-bar-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  white-space: nowrap;
}
.trust-bar-items {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  justify-content: center;
}
.trust-bar-items span {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: var(--weight-medium);
  white-space: nowrap;
}
.trust-sep {
  color: var(--border);
  font-size: 1rem;
  line-height: 1;
}
@media (max-width: 560px) { .trust-sep { display: none; } }

/* =========================================================
   SERVICE CARD LINK
   ========================================================= */
.svc-link {
  display: inline-flex;
  align-items: center;
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  color: var(--primary);
  letter-spacing: var(--tracking-wide);
  transition: gap var(--transition), color var(--transition);
  gap: 4px;
  min-height: unset;
}
.svc-link:hover {
  color: var(--primary-dark);
  gap: 8px;
}

/* =========================================================
   FEATURE HEADING (h3 inside feature-item)
   ========================================================= */
.feature-h {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-2);
  color: var(--text);
}

/* =========================================================
   PROCESS STEPS
   ========================================================= */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  list-style: none;
  counter-reset: none;
  position: relative;
}
@media (min-width: 560px)  { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-steps { grid-template-columns: repeat(4, 1fr); } }

/* Connector line between steps on desktop */
@media (min-width: 1024px) {
  .process-steps {
    position: relative;
  }
  .process-steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(12.5% + 24px);
    right: calc(12.5% + 24px);
    height: 2px;
    background: var(--border);
    z-index: 0;
  }
}

.process-step {
  background: var(--white);
  border: 1px solid rgba(241, 245, 249, 0.8);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
  z-index: 1;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.step-num {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--weight-black);
  color: var(--primary-border);
  letter-spacing: var(--tracking-wide);
}
.step-icon {
  font-size: 2rem;
  margin-bottom: var(--space-4);
  display: block;
}
.process-step h3 {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-2);
  color: var(--text);
}
.process-step p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-loose);
}

/* =========================================================
   INDUSTRIES GRID
   ========================================================= */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
@media (min-width: 560px)  { .industries-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px)  { .industries-grid { grid-template-columns: repeat(4, 1fr); } }

.industry-chip {
  background: var(--white);
  border: 1px solid var(--border-light);
  padding: 10px var(--space-5);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  display: flex; align-items: center; gap: 8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-xs);
  cursor: default;
}
.industry-chip:hover {
  border-color: transparent;
  color: var(--primary-dark);
  background: var(--surface-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.industry-chip span { font-size: 1.1rem; flex-shrink: 0; }

/* =========================================================
   MAP EMBED
   ========================================================= */
.map-embed {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  line-height: 0;
}
.map-embed iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}
@media (min-width: 640px)  { .map-embed iframe { height: 380px; } }
@media (min-width: 1024px) { .map-embed iframe { height: 440px; } }



/* =========================================================
   ABOUT PAGE REDESIGN STYLES
   ========================================================= */
.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.hover-zoom:hover {
  transform: scale(1.05);
}

.value-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border-top: 4px solid transparent;
  position: relative;
}
.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--primary);
}
.value-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 24px;
  display: inline-block;
  transition: transform 0.3s ease;
}
.value-card:hover .value-icon {
  transform: translateY(-4px);
}

@media (max-width: 768px) {
  .apple-gallery {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto !important;
  }
  .apple-gallery > div {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    height: 250px;
  }
}

/* Timeline */
.timeline-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 20px 0;
}
.timeline-line {
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
@media (min-width: 768px) {
  .timeline-line {
    left: 50%;
    transform: translateX(-50%);
  }
}
.timeline-item {
  position: relative;
  margin-bottom: 48px;
  display: flex;
  align-items: flex-start;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: 11px;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--primary);
  z-index: 2;
}
@media (min-width: 768px) {
  .timeline-dot {
    left: 50%;
    transform: translateX(-50%);
  }
}
.timeline-content {
  margin-left: 60px;
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  width: calc(100% - 60px);
  transition: transform 0.3s ease;
}
.timeline-item:hover .timeline-content {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
@media (min-width: 768px) {
  .timeline-content {
    width: calc(50% - 40px);
    margin-left: 0;
  }
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
  }
  .timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
  }
}
.timeline-year {
  color: var(--primary);
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.timeline-title {
  margin-bottom: 8px;
}
.timeline-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---- Responsive Grid Classes ---- */
.service-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
  margin-bottom: var(--space-12);
}
@media (min-width: 960px) {
  .service-split-left {
    grid-template-columns: 1fr 1.4fr;
  }
  .service-split-right {
    grid-template-columns: 1.4fr 1fr;
  }
  .service-split-grid {
    margin-bottom: var(--space-16);
  }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---- Floating Contact Buttons ---- */
.floating-contact-buttons {
  position: fixed;
  right: calc(20px + env(safe-area-inset-right));
  bottom: calc(30px + env(safe-area-inset-bottom));
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.floating-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.floating-call {
  background-color: #007bff;
}

.floating-whatsapp {
  background-color: #25d366;
}

@media (max-width: 768px) {
  .floating-contact-buttons {
    z-index: 99999;
  }
  .floating-btn {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
}

/* =========================================================
   HOME PAGE ULTRA-MODERN REDESIGN EXTENSIONS
   ========================================================= */

/* Pulsing dot indicator for hero tags */
.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  animation: pulse-ring 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
  margin-right: 6px;
  vertical-align: middle;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* Floating Stats Glass Bar */
.hero-stats-bar {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}
.stat-bar-item {
  transition: transform 0.3s ease;
}
.stat-bar-item:hover {
  transform: translateY(-2px);
}
.hero-stats-bar .hero-stat-num {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Trust Bar / Global Footprint Ticker */
.trust-bar {
  background: #0f172a;
  color: #ffffff;
  padding: 24px 0;
  border-top: 1px solid #1e293b;
  border-bottom: 1px solid #1e293b;
}
.trust-bar-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  font-weight: 700;
  margin-bottom: 14px;
  text-align: center;
}
.trust-bar-items {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff !important;
  transition: all 0.3s ease;
}
.trust-pill:hover {
  background: #334155;
  border-color: var(--accent);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
}
.trust-pill .flag-icon {
  font-size: 1.15rem;
  line-height: 1;
}

/* About Us Section Layout & Floating Badges */
.home-about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 992px) {
  .home-about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}
.home-about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}
.home-about-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
}
.about-floating-chip {
  position: absolute;
  background: var(--white);
  border: 1px solid rgba(30, 58, 138, 0.12);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
  z-index: 5;
  transition: transform 0.3s ease;
}
.about-floating-chip:hover {
  transform: translateY(-4px);
}
.about-floating-chip i {
  font-size: 1.4rem;
  color: var(--accent-deep);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-floating-chip span {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.2;
}
.about-floating-chip span strong {
  display: block;
  font-size: var(--text-base);
  color: var(--text);
}
.chip-top {
  top: 20px;
  right: -15px;
}
.chip-bottom {
  bottom: 20px;
  left: -15px;
}
@media (max-width: 768px) {
  .chip-top { top: 10px; right: 10px; }
  .chip-bottom { bottom: 10px; left: 10px; }
}

/* Service Cards (Clean & Borderless Top) */
.service-card {
  padding: 32px 28px;
  border: 1px solid rgba(30, 58, 138, 0.08);
  border-radius: var(--radius-lg);
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(245, 158, 11, 0.15);
  background: var(--white);
}
.service-card:hover h3 {
  color: var(--primary);
}
.service-card:hover p {
  color: var(--text-muted);
}
.service-card .svc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--primary);
  transition: transform 0.3s ease, color 0.3s ease;
}
.service-card:hover .svc-link {
  color: var(--accent-vibrant);
  transform: translateX(6px);
}
.svc-category {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-deep);
  margin-bottom: 10px;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}
.svc-card-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.svc-card-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .svc-card-icon-wrap {
  transform: scale(1.06);
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.2);
}
.service-card:hover .svc-card-icon-wrap img {
  transform: scale(1.1);
}

/* Process Steps ("How We Work") Styling */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  list-style: none;
  margin-top: 40px;
}
@media (min-width: 640px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}
.process-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  position: relative;
  transition: all 0.35s ease;
  box-shadow: var(--shadow-sm);
}
.process-step:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(245, 158, 11, 0.15);
}
.step-num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(245, 158, 11, 0.2);
}
.step-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--accent-gradient);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  box-shadow: 0 8px 18px rgba(234, 88, 12, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.process-step:hover .step-icon-badge {
  transform: scale(1.1) rotate(-4deg);
  box-shadow: 0 12px 24px rgba(234, 88, 12, 0.4);
}
.process-step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.process-step p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-loose);
}

/* Why Choose Us Feature Item Vector Badges */
.feature-icon-box {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(234, 88, 12, 0.06) 100%);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: all 0.3s ease;
  border: 1px solid var(--accent-border);
}
.feature-item:hover .feature-icon-box {
  background: var(--accent-gradient);
  color: var(--white);
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.32);
  border-color: transparent;
}

/* Premium Industries Grid */
.premium-industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.premium-industry-card {
  background: var(--white);
  border: 1px solid rgba(30, 58, 138, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.premium-industry-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}
.premium-industry-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
}
.premium-industry-card:hover::before {
  opacity: 1;
}
.premium-industry-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 58, 138, 0.08);
  color: var(--primary);
  border-radius: 50%;
  font-size: 1.6rem;
  transition: all 0.4s ease;
}
.premium-industry-card:hover .premium-industry-icon {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  transform: scale(1.1);
}
.premium-industry-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
  transition: color 0.4s ease;
}
.premium-industry-card:hover .premium-industry-title {
  color: #ffffff;
}

/* Executive CTA Banner (Dark Glass Mesh) */
.cta-banner-dark {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #172554 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-6);
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .cta-banner-dark { padding: var(--space-16) var(--space-12); }
}
.cta-banner-dark h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  margin-bottom: var(--space-3);
  color: var(--white);
}
.cta-banner-dark p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  font-size: var(--text-base);
  line-height: var(--leading-loose);
}
.cta-trust-subtext {
  margin-top: 24px;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.cta-trust-subtext i {
  color: var(--accent);
}

/* =========================================================
   MOBILE RESPONSIVENESS ENHANCEMENTS FOR HOME PAGE
   ========================================================= */
@media (max-width: 767px) {
  /* Full screen hero section on mobile */
  .hero-slider {
    min-height: 100vh;
    min-height: 100dvh;
  }
  .hero-slider .slider-slide {
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    padding-top: 0;
    padding-bottom: 0;
  }
  .hero-slider .slide-content {
    display: flex;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: calc(var(--navbar-h) + 20px);
    padding-bottom: 90px;
  }

  .slider-slide h1 {
    font-size: 1.85rem;
    line-height: 1.2;
  }
  .slider-slide .hero-desc {
    font-size: 0.95rem;
    margin-bottom: var(--space-6);
  }
  .hero-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .hero-trust-badges {
    justify-content: center;
    gap: 10px;
  }
  .stats-bar-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 12px 10px;
  }
  .stat-bar-sep {
    display: none;
  }
  .stat-bar-item {
    padding: 8px 4px;
    text-align: center;
  }
  .hero-stats-bar .hero-stat-num {
    font-size: 1.35rem;
  }
  .hero-stats-bar .hero-stat-label {
    font-size: 0.7rem;
  }

  /* About section mobile responsive */
  .home-about-img-wrap {
    margin-bottom: 20px;
  }
  .about-floating-chip {
    padding: 8px 12px;
  }
  .about-floating-chip i {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }
  .about-floating-chip span strong {
    font-size: 0.85rem;
  }
  .chip-top {
    top: 10px; right: 10px;
  }
  .chip-bottom {
    bottom: 10px; left: 10px;
  }

  /* Trust bar mobile pills */
  .trust-bar-items {
    gap: 8px;
  }
  .trust-pill {
    padding: 6px 14px;
    font-size: 0.85rem;
  }

  /* Services cards mobile */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .service-card {
    padding: 24px 20px;
  }

  /* Process steps mobile */
  .process-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Why us grid mobile */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Industries grid mobile */
  .premium-industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .premium-industry-card {
    padding: 20px 12px;
  }
  .premium-industry-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
    margin-bottom: 10px;
  }
  .premium-industry-title {
    font-size: 0.9rem;
  }

  /* CTA banner mobile */
  .cta-banner-dark {
    padding: 32px 16px;
  }
  .cta-actions {
    flex-direction: column;
    gap: 10px;
  }
  .cta-actions .btn {
    width: 100%;
  }
}

/* =========================================================
   SERVICES PAGE — ADVANCED MODERN UI & DESIGN SYSTEM
   ========================================================= */

/* Hero Banner */
.services-hero {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #172554 45%, #1e3a8a 100%);
  color: var(--white);
  padding: calc(var(--header-h) + var(--space-12)) 0 var(--space-16);
  text-align: center;
  overflow: hidden;
}
@media (max-width: 767px) {
  .services-hero {
    padding: calc(var(--navbar-h) + 40px) 0 var(--space-12);
  }
}
.services-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.15), transparent 70%);
  pointer-events: none;
}
.services-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fef3c7;
  margin-bottom: var(--space-4);
  backdrop-filter: blur(8px);
}
.services-hero-badge .pulse-dot {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.services-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: var(--space-4);
}
.services-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 680px;
  margin: 0 auto var(--space-8);
  line-height: var(--leading-loose);
}
.services-hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding-top: var(--space-4);
}
.hero-stat-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: #f8fafc;
  font-weight: 600;
  backdrop-filter: blur(6px);
}
.hero-stat-pill i {
  color: var(--accent-light);
  font-size: 1.1rem;
}

/* Category Filter Bar */
.services-filter-wrapper {
  margin-top: -30px;
  position: relative;
  z-index: 10;
  margin-bottom: var(--space-12);
}
.services-filter-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: var(--white);
  padding: 8px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(30, 58, 138, 0.1);
  max-width: max-content;
  margin: 0 auto;
}
.filter-btn {
  background: transparent;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.filter-btn:hover {
  color: var(--primary);
  background: var(--primary-subtle);
}
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.3);
  position: relative;
}
.filter-btn.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 3px;
  background: var(--accent);
  border-radius: var(--radius-full);
}

@media (max-width: 768px) {
  .services-filter-bar {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .services-filter-bar::-webkit-scrollbar {
    display: none;
  }
  .services-filter-wrapper {
    margin-top: -10px;
  }
}

/* Deep-Dive Service Modules */
.service-module {
  background: var(--white);
  border: 1px solid rgba(30, 58, 138, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin-bottom: var(--space-10);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
@media (min-width: 992px) {
  .service-module {
    padding: var(--space-12);
  }
}
.service-module:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(245, 158, 11, 0.12);
}

.service-module-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 992px) {
  .service-module-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: var(--space-12);
  }
  .service-module-reverse .service-module-grid {
    grid-template-columns: 1.15fr 1fr;
  }
  .service-module-reverse .service-module-media {
    order: 2;
  }
  .service-module-reverse .service-module-content {
    order: 1;
  }
}

/* Visual Media Card inside Service Module */
.service-module-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  aspect-ratio: 16/10;
  background: #f1f5f9;
}
.service-module-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-module:hover .service-module-media img {
  transform: scale(1.05);
}
.service-sla-chip {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--white);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.service-sla-chip i {
  color: var(--accent-light);
}

/* Content block inside module */
.service-module-content h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--space-3);
  line-height: 1.25;
}
.service-module-content .service-lead {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: var(--leading-loose);
  margin-bottom: var(--space-6);
}

/* Deliverables Grid */
.service-deliverables-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 16px;
  margin-bottom: var(--space-6);
}
@media (min-width: 540px) {
  .service-deliverables-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.deliverable-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--text);
  line-height: 1.4;
}
.deliverable-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--emerald-subtle);
  color: var(--emerald-dark);
  border: 1px solid var(--emerald-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Tech Stack & Tool Chips */
.tech-stack-row {
  margin-bottom: var(--space-6);
}
.tech-stack-title {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 8px;
  display: block;
}
.tech-stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tech-pill {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 4px 12px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  transition: all 0.25s ease;
}
.tech-pill:hover {
  border-color: var(--accent-border);
  color: var(--accent-deep);
  background: var(--accent-subtle);
}

/* Service Actions */
.service-module-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Engagement Roadmap Section */
.roadmap-section {
  background: var(--bg2);
  padding: var(--space-16) 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.roadmap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: var(--space-10);
}
@media (min-width: 640px) {
  .roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .roadmap-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.roadmap-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  position: relative;
  transition: all 0.35s ease;
  box-shadow: var(--shadow-xs);
}
.roadmap-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(245, 158, 11, 0.12);
}
.roadmap-step-badge {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-deep);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 16px;
}
.roadmap-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.roadmap-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-loose);
}

/* FAQ Accordion Section */
.faq-section {
  padding: var(--space-16) 0;
}
.faq-accordion {
  max-width: 800px;
  margin: var(--space-10) auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item.active {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.08);
}
.faq-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.3s ease;
}
.faq-trigger:hover {
  color: var(--accent-deep);
}
.faq-chevron {
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-dark);
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease;
  padding: 0 24px;
}
.faq-item.active .faq-content {
  max-height: 350px;
  padding: 0 24px 20px;
}
.faq-content p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-loose);
  margin: 0;
}

/* Mobile Responsive Overrides for Services Page */
@media (max-width: 767px) {
  .services-filter-wrapper {
    margin-top: 0;
    margin-bottom: var(--space-6);
  }
  .services-filter-bar {
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .filter-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
    flex-shrink: 0;
  }
  .service-module {
    padding: var(--space-6) var(--space-4);
    border-radius: var(--radius-lg);
  }
  .service-module-content h2 {
    font-size: 1.35rem;
  }
  .service-module-actions {
    flex-direction: column;
    width: 100%;
  }
  .service-module-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .faq-trigger {
    padding: 16px;
    font-size: 0.95rem;
  }
  .faq-content {
    padding: 0 16px;
  }
  .faq-item.active .faq-content {
    padding: 0 16px 16px;
  }
}

/* =========================================================
   PREMIUM REDESIGN ADDITIONS (Home & About)
   ========================================================= */

/* --- Animations --- */
@keyframes meshGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes slowPulse {
  0%, 100% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.2) translate(50px, -30px); }
}
@keyframes fluidGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Scroll Reveal Utilities --- */
.reveal-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-scale { opacity: 0; transform: scale(0.95); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-active { opacity: 1; transform: translate(0) scale(1); }

/* --- Hero Global Backgrounds --- */
.hero-video-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; z-index: 0; mix-blend-mode: color-dodge;
}
.hero-gradient-overlay, .hero-global-gradient {
  position: absolute; inset: 0; z-index: 0; opacity: 0.9; pointer-events: none;
  background: linear-gradient(-45deg, var(--primary-dark), #0f766e, #c2410c, var(--primary));
  background-size: 400% 400%;
  animation: meshGradient 12s ease infinite;
}
.about-hero .hero-gradient-overlay { z-index: 1; }

/* Index.php Slider Overrides */
.hero-slider .slide-bg img { opacity: 0.3 !important; mix-blend-mode: color-dodge; }
.hero-slider .slide-overlay { display: none !important; }
.hero-slider .slider-track, .hero-slider .slider-slide { position: relative; z-index: 1; background: transparent !important; }
.hero-slider .slide-bg { background: transparent !important; }

/* --- Stats Bar (Glassmorphism & Blobs) --- */
.stats-blob-1 {
  position: absolute; top: -30%; left: -10%; width: 60vw; height: 60vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 60%); filter: blur(60px);
  animation: slowPulse 12s ease-in-out infinite alternate; z-index: 0; pointer-events: none;
}
.stats-blob-2 {
  position: absolute; bottom: -30%; right: -10%; width: 60vw; height: 60vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.25) 0%, transparent 60%); filter: blur(60px);
  animation: slowPulse 15s ease-in-out infinite alternate-reverse; z-index: 0; pointer-events: none;
}
.glass-stat-item {
  display: flex; flex-direction: column; align-items: center; padding: 40px 24px;
  border-radius: var(--radius-xl); text-align: center;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform 0.4s ease, background 0.4s ease;
}
.glass-stat-item:hover { transform: translateY(-8px); background: rgba(255, 255, 255, 0.1); }
.glass-stat-icon {
  display: flex; align-items: center; justify-content: center; width: 64px; height: 64px;
  border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.1); color: var(--accent-light);
  font-size: 1.75rem; margin-bottom: 24px; transition: transform 0.3s ease;
}
.glass-stat-item:hover .glass-stat-icon { transform: translateY(-4px) scale(1.1) rotate(5deg); }

/* --- About Core Values --- */
.about-value-item {
  display: flex; flex-direction: column; padding: 40px 32px; border-radius: var(--radius-lg);
  background: var(--surface); transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  position: relative; overflow: hidden;
}
.about-value-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.about-value-icon {
  display: flex; align-items: center; justify-content: center; width: 56px; height: 56px;
  border-radius: var(--radius-md); background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white; font-size: 1.5rem; margin-bottom: 24px;
}
.about-value-number {
  position: absolute; top: -10px; right: -10px; font-size: 8rem; font-weight: 900;
  color: var(--bg); opacity: 0.6; font-family: var(--font-heading); line-height: 1; pointer-events: none; transition: transform 0.5s ease;
}
.about-value-item:hover .about-value-number { transform: scale(1.1) rotate(-5deg); }

/* --- About Gallery --- */
.gallery-vibrant-bg {
  position: absolute; inset: 0; z-index: 0; opacity: 0.5; mix-blend-mode: screen;
  background: linear-gradient(120deg, transparent, rgba(16, 185, 129, 0.4), rgba(14, 165, 233, 0.4), transparent);
  background-size: 300% 300%; animation: fluidGradient 12s ease infinite; pointer-events: none;
}
.gallery-img-wrapper {
  border-radius: var(--radius-xl); overflow: hidden; position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); height: 100%;
}
.gallery-img-wrapper img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-img-wrapper:hover img { transform: scale(1.05); }

/* --- Mobile Responsiveness Fixes --- */
/* About Hero padding */
@media (max-width: 768px) {
  .about-hero { padding: 140px 0 80px 0 !important; }
}

/* About "Who We Are" Layout Grid */
.who-we-are-layout { display: grid; grid-template-columns: 1fr; gap: 64px; align-items: center; }
.who-we-are-features { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; list-style: none; padding-left: 0; }
@media (min-width: 768px) {
  .who-we-are-features { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
  .who-we-are-layout { grid-template-columns: 1.1fr 0.9fr; }
}

/* About Gallery Grid */
.about-gallery-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.about-gallery-grid .gallery-img-wrapper { grid-column: auto !important; grid-row: auto !important; min-height: 250px; }
@media (min-width: 768px) {
  .about-gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 250px 250px; }
  .about-gallery-grid .gallery-large { grid-column: 1 / 2 !important; grid-row: 1 / 3 !important; }
  .about-gallery-grid .gallery-top-right { grid-column: 2 / 3 !important; grid-row: 1 / 2 !important; }
  .about-gallery-grid .gallery-bottom-right { grid-column: 2 / 3 !important; grid-row: 2 / 3 !important; }
}

/* Index.php Grids Mobile Fixes */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } }

.premium-industries-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 576px) { .premium-industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .premium-industries-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }

/* --- Careers Page Extracted CSS --- */
.careers-benefits-layout {
  display: grid; grid-template-columns: 1fr; gap: 48px;
}
.careers-benefits-content {
  max-width: 540px;
}
.careers-benefits-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 576px) {
  .careers-benefits-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (min-width: 992px) {
  .careers-benefits-layout {
      grid-template-columns: 1fr 1.3fr !important;
      gap: 80px !important;
      align-items: center !important;
  }
}
.careers-benefit-item {
  display: flex; flex-direction: column; padding: 32px 24px;
  border-radius: var(--radius-lg); background: transparent;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
}
.careers-benefit-item:hover {
  transform: translateY(-4px); background: var(--surface); box-shadow: var(--shadow-sm);
}
.careers-benefit-icon {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--primary-subtle); color: var(--primary);
  font-size: 1.4rem; margin-bottom: 20px;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.careers-benefit-item:hover .careers-benefit-icon {
  background: var(--primary); color: var(--white); transform: translateY(-2px) scale(1.05);
}
.careers-benefit-number {
  position: absolute; top: 24px; right: 24px;
  font-size: 2.5rem; font-weight: 800; color: var(--text-light);
  opacity: 0.15; font-family: var(--font-heading);
  transition: color 0.3s ease, opacity 0.3s ease;
}
.careers-benefit-item:hover .careers-benefit-number {
  color: var(--primary); opacity: 0.1;
}
.careers-benefit-h { font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 12px; letter-spacing: -0.01em; }
.careers-benefit-p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin: 0; }

/* Careers Modal */
.app-success-overlay {
  display: none; position: fixed; inset: 0; z-index: 99999;
  background: rgba(15,23,42,0.65); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 20px;
}
.app-success-modal {
  background: #ffffff; border-radius: 24px; padding: 48px 40px;
  max-width: 480px; width: 100%; text-align: center;
  box-shadow: 0 24px 64px rgba(15,23,42,0.18); position: relative;
  animation: modalPop 0.3s cubic-bezier(0.16,1,0.3,1) both;
}
.app-success-close {
  position: absolute; top: 16px; right: 16px; background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8; font-size: 1.4rem; line-height: 1; transition: background 0.2s;
}
.app-success-close:hover { background: #f1f5f9; }
.app-success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(16,185,129,0.30);
}
.app-success-title { font-family:'Poppins',sans-serif;font-size:1.5rem;font-weight:700;color:#0f172a;margin-bottom:10px; }
.app-success-desc { color:#475569;font-size:0.98rem;line-height:1.7;margin-bottom:28px; }
.app-success-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 12px; padding: 12px 24px; margin-bottom: 32px; color: #1e40af;
}
.app-success-badge .badge-label { font-family:'Poppins',sans-serif;font-size:0.82rem;font-weight:600;text-transform:uppercase;letter-spacing:0.08em; }
.app-success-badge .badge-id { font-family:'Poppins',sans-serif;font-size:1rem;font-weight:700;color:#0f172a; }
.app-success-note { color:#94a3b8;font-size:0.82rem;margin-bottom:28px; }
.app-success-ok {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%); color: #fff; border: none; cursor: pointer;
  padding: 14px 40px; border-radius: 10px; font-family:'Poppins',sans-serif; font-size:0.95rem; font-weight:600;
  box-shadow: 0 4px 16px rgba(30,64,175,0.28); transition: transform 0.2s, box-shadow 0.2s;
}
.app-success-ok:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,64,175,0.35); }
@keyframes modalPop {
  from { opacity: 0; transform: scale(0.88) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* --- Global Forms Extracted CSS --- */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-weight: 500; font-size: 0.95rem; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--white); color: var(--text); font-family: inherit; transition: border 0.3s, box-shadow 0.3s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-subtle);
}
.app-form-container {
  max-width: 700px; margin: 0 auto; background: var(--surface); padding: 40px;
  border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}

/* --- Legal Pages Extracted CSS --- */
.legal-content { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.legal-content h3 { margin-top: 24px; font-size: 1.25rem; font-weight: 700; color: var(--text); }
.legal-content p { color: var(--text-muted); line-height: 1.7; font-size: 1.05rem; }
