/* ============================================================
   ATOMS INDIA — MASTER STYLESHEET
   Premium IT Company Website
   ============================================================ */

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --primary:        #2563eb;
  --primary-dark:   #1d4ed8;
  --primary-light:  #dbeafe;
  --dark:           #0f172a;
  --dark-2:         #1e293b;
  --dark-3:         #334155;
  --light:          #f8fafc;
  --light-2:        #f1f5f9;
  --white:          #ffffff;
  --text:           #0559f4;
  --text-muted:     #64748b;
  --accent:         #0891b2;
  --border:         #e2e8f0;

  --gradient-hero:    linear-gradient(135deg, #060c1f 0%, #0a1735 35%, #0d1d45 65%, #08152e 100%);
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);
  --gradient-vivid:   linear-gradient(135deg, #4f46e5 0%, #2563eb 50%, #0891b2 100%);
  --gradient-dark:    linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --gradient-glow:    radial-gradient(ellipse at center, rgba(37,99,235,.25) 0%, transparent 70%);

  --shadow-sm:   0 1px 3px rgba(0,0,0,.10);
  --shadow:      0 4px 8px rgba(0,0,0,.10);
  --shadow-lg:   0 12px 28px rgba(0,0,0,.14);
  --shadow-xl:   0 25px 60px rgba(0,0,0,.28);
  --shadow-card: 0 8px 32px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.08);
  --shadow-glow: 0 0 30px rgba(37,99,235,.4), 0 0 60px rgba(37,99,235,.15);
  --shadow-glow-cyan: 0 0 30px rgba(8,145,178,.4);

  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body:    'Inter',   system-ui, sans-serif;

  --transition:      all .3s ease;
  --transition-slow: all .55s ease;

  --radius-sm: .375rem;
  --radius:    .75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 2rem;
  --radius-full: 9999px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
 h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--light);
}

.section-label {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(37,99,235,.1);
  border: 1px solid rgba(37,99,235,.22);
  border-radius: var(--radius-full);
  padding: .3rem 1rem;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 3.5vw, 2.875rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -.02em;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.text-gradient {
  background: var(--gradient-vivid);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 18px rgba(37,99,235,.3));
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.btn-lg { padding: 1.0625rem 2.5rem; font-size: 1rem; }
.btn-sm { padding: .5rem 1.25rem; font-size: .875rem; }

.btn-primary {
  background: var(--gradient-vivid);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,99,235,.4), 0 1px 3px rgba(0,0,0,.2);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: skewX(-15deg);
  animation: btnShimmer 3.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btnShimmer {
  0%   { left: -100%; }
  60%,100% { left: 160%; }
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(37,99,235,.55), 0 4px 12px rgba(0,0,0,.2);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.45);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--white);
  color: var(--primary);
}
.btn-light:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--dark-2);
  transform: translateY(-2px);
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.125rem 0;
  transition: var(--transition);
}
.site-header.scrolled {
  background: rgba(10,14,36,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,.4);
  padding: .75rem 0;
}

.site-header .navbar { padding: 0; }

/* Desktop nav layout: [Logo] [Nav items →aligned right] [Theme toggle] */
@media (min-width: 992px) {
  .site-header .container {
    justify-content: flex-start !important;
    gap: 1.5rem;
  }
  .navbar-collapse { flex: 1 1 auto; }
  .navbar-collapse .navbar-nav { justify-content: flex-end; }
  .nav-controls { flex-shrink: 0; }
}

.navbar-brand .logo {
  height: 50px;
  transition: var(--transition);
}
.site-header.scrolled .navbar-brand .logo { height: 42px; }

.site-header .nav-link {
  color: rgba(255,255,255,.82) !important;
  font-weight: 500;
  font-size: .9375rem;
  padding: .5rem .875rem !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: var(--white) !important;
  background: rgba(255,255,255,.1);
}

.site-header .has-dropdown { position: relative; }

.site-header .dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + .25rem);
  left: 0;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: .5rem;
  box-shadow: var(--shadow-xl);
  min-width: 240px;
  margin-top: 0;
  z-index: 200;
}
.site-header .has-dropdown:nth-last-child(4) .dropdown-menu { min-width: 260px; }
.site-header .dropdown-menu.show { display: block; }

.site-header .dropdown-menu li a {
  color: rgba(255,255,255,.78);
  padding: .5rem 1rem;
  border-radius: var(--radius-sm);
  display: block;
  font-size: .9rem;
  font-weight: 500;
  transition: var(--transition);
}
.site-header .dropdown-menu li a:hover {
  background: rgba(37,99,235,.22);
  color: var(--white);
  padding-left: 1.25rem;
}

.nav-cta {
  padding: .625rem 1.5rem !important;
  background: var(--gradient-primary) !important;
  color: var(--white) !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(37,99,235,.35);
  border: none !important;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,99,235,.5) !important;
  background: var(--gradient-primary) !important;
  color: var(--white) !important;
}

/* Desktop: hamburger hidden, nav always visible */
.navbar-toggler { display: none; }
.navbar-collapse { display: flex !important; align-items: center; }

.navbar-toggler:focus { box-shadow: none; }
.hamburger { display: flex; flex-direction: column; gap: 5px; }
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 130px 0 90px;
}

/* Enhanced animated blobs with more depth */
.hero-blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .18;
}
.blob-1 { width: 800px; height: 800px; background: #2563eb; top: -250px; right: -200px; animation: blobFloat 9s ease-in-out infinite; }
.blob-2 { width: 600px; height: 600px; background: #0891b2; bottom: -150px; left: -100px; animation: blobFloat 12s ease-in-out infinite reverse; }
.blob-3 { width: 400px; height: 400px; background: #7c3aed; top: 35%; left: 38%; animation: blobFloat 15s ease-in-out infinite; }
.blob-4 { width: 250px; height: 250px; background: #0891b2; top: 10%; left: 20%; opacity: .09; animation: blobFloat 18s ease-in-out infinite reverse; }

@keyframes blobFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(30px,-30px) scale(1.05); }
  66%      { transform: translate(-20px,20px) scale(.96); }
}

/* 3D perspective grid */
.hero-grid {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-grid::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero-grid::after {
  content: '';
  position: absolute;
  bottom: 0; left: -10%; right: -10%;
  height: 280px;
  background-image:
    linear-gradient(to right, rgba(37,99,235,.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37,99,235,.08) 1px, transparent 1px);
  background-size: 60px 40px;
  transform: perspective(500px) rotateX(55deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(to top, black 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, black 0%, transparent 100%);
}

/* Floating 3D shapes in hero */
.hero-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape {
  position: absolute;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(4px);
}
.shape-1 {
  width: 80px; height: 80px;
  top: 18%; right: 8%;
  animation: floatShape 7s ease-in-out infinite;
  transform: rotate(20deg);
}
.shape-2 {
  width: 50px; height: 50px;
  top: 60%; right: 15%;
  animation: floatShape 9s ease-in-out infinite reverse;
  transform: rotate(-15deg);
  border-radius: 50%;
}
.shape-3 {
  width: 100px; height: 100px;
  top: 8%; left: 12%;
  animation: floatShape 11s ease-in-out infinite;
  transform: rotate(45deg);
  opacity: .5;
}
.shape-4 {
  width: 35px; height: 35px;
  bottom: 20%; left: 6%;
  animation: floatShape 8s ease-in-out infinite reverse;
  border-radius: 50%;
  background: rgba(37,99,235,.15);
  border-color: rgba(37,99,235,.25);
}
@keyframes floatShape {
  0%,100% { transform: translateY(0) rotate(20deg); }
  50%      { transform: translateY(-18px) rotate(28deg); }
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  background: rgba(37,99,235,.18);
  border: 1px solid rgba(37,99,235,.45);
  color: #93c5fd;
  font-size: .875rem;
  font-weight: 600;
  padding: .4375rem 1.125rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.75rem;
}
.pulse-dot {
  width: 8px; height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulseDot 2s ease infinite;
}
@keyframes pulseDot {
  0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,.6); }
  50%      { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

.hero-title {
  font-size: clamp(2.625rem, 6vw, 4.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 1.25rem;
}
.hero-title .line-accent {
  background: linear-gradient(135deg, #60a5fa 0%, #34d399 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 1.375rem;
  font-weight: 600;
  color: rgba(255,255,255,.88);
  margin-bottom: 1.25rem;
  min-height: 2.2rem;
}
.typewriter-wrap { display: inline; }
.typewriter {
  color: #60a5fa;
  border-right: 2.5px solid #60a5fa;
  animation: blink .75s step-end infinite;
  padding-right: 2px;
}
@keyframes blink {
  0%,100% { border-color: #60a5fa; }
  50%      { border-color: transparent; }
}

.hero-desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.68);
  max-width: 510px;
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  align-items: center;
  justify-content: space-between;
}
.hero-stat {
  flex: 1;
  text-align: center;
  padding: 0 .625rem;
  border-right: 1px solid rgba(255,255,255,.12);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  display: block;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: .2rem;
}
.hero-stat-lbl {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* Hero right cards */
.hero-visual { position: relative; z-index: 1; }
.hero-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
/* Hero card styles → see ENHANCED HERO CARDS block at bottom */

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: linear-gradient(135deg, #0f172a 0%, #1a2a4a 50%, #0f172a 100%);
  padding: 4rem 0;
  border-top: 1px solid rgba(37,99,235,.2);
  border-bottom: 1px solid rgba(37,99,235,.2);
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-glow);
  pointer-events: none;
}
.stat-item {
  text-align: center;
  padding: 1rem 2rem;
  position: relative;
}
.stat-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(37,99,235,.08) 0%, transparent 70%);
  border-radius: var(--radius-lg);
  opacity: 0;
  transition: opacity .35s ease;
}
.stat-item:hover::before { opacity: 1; }
.stat-num {
  display: block;
  font-size: 3.25rem;
  font-weight: 800;
  font-family: var(--font-heading);
  background: var(--gradient-vivid);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: .5rem;
  filter: drop-shadow(0 0 15px rgba(37,99,235,.4));
}
.stat-lbl { font-size: .9375rem; color: rgba(255,255,255,.6); font-weight: 500; letter-spacing: .02em; }
.stat-divider {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(37,99,235,.4), transparent);
  align-self: center;
}

/* ============================================================
   SECTION BASE
   ============================================================ */
section { padding: 100px 0; }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-header.align-left { text-align: left; }
.section-header.align-left .section-subtitle { margin-left: 0; }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section { background: var(--light); }

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition: transform .15s ease, box-shadow .3s ease, border-color .3s ease;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  will-change: transform;
  box-shadow: var(--shadow-card);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-vivid);
  opacity: 0;
  transition: opacity .35s ease;
  border-radius: inherit;
  pointer-events: none;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-vivid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
  z-index: 1;
}
.service-card:hover {
  box-shadow: 0 20px 60px rgba(37,99,235,.18), 0 8px 25px rgba(0,0,0,.12);
  border-color: rgba(37,99,235,.25);
}
.service-card:hover::before { opacity: .04; }
.service-card:hover::after  { transform: scaleX(1); }

.svc-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.625rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}
.service-card:hover .svc-icon {
  background: var(--gradient-primary);
  color: var(--white);
  transform: scale(1.08);
  box-shadow: var(--shadow-glow);
}
.service-card h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: .625rem;
}
.service-card p {
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}
.service-card:hover .svc-link { gap: .625rem; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { background: var(--white); }

.about-img-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}
.about-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}
.about-exp-badge {
  position: absolute;
  bottom: -20px; right: -16px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.625rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  min-width: 130px;
}
.about-exp-badge .num {
  display: block;
  font-size: 2.625rem;
  font-weight: 800;
  line-height: 1;
  font-family: var(--font-heading);
}
.about-exp-badge .lbl { font-size: .78rem; opacity: .88; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.ab-feat {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  padding: 1.125rem;
  background: var(--light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.ab-feat:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.ab-feat-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.ab-feat h5 { font-size: .9375rem; font-weight: 700; margin-bottom: .2rem; }
.ab-feat p  { font-size: .8125rem; color: var(--text-muted); }

/* ============================================================
   GROUP COMPANIES
   ============================================================ */
.companies-section { background: var(--light); padding: 80px 0; }
.company-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}
.company-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: var(--primary);
}
.company-card .company-logo {
  max-height: 60px;
  margin: 0 auto 1.125rem;
  transition: var(--transition);
}
.company-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.company-card p  { font-size: .875rem; color: var(--text-muted); }

/* ============================================================
   SOLUTIONS / PRODUCTS
   ============================================================ */
.solutions-section { background: var(--white); }

.solution-row {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border);
}
.solution-row:last-child { border-bottom: none; padding-bottom: 0; }
.solution-row:first-child { padding-top: 0; }

.solution-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--dark-2);
}
.solution-img-placeholder {
  width: 100%;
  height: 360px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--gradient-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.solution-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.tag {
  display: inline-block;
  padding: .2rem .75rem;
  border-radius: var(--radius-full);
  font-size: .8rem;
  font-weight: 600;
  background: var(--primary-light);
  color: var(--primary);
}

.solution-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .625rem;
  margin: 1.5rem 0;
}
.sol-feat {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--text);
}
.sol-feat i { color: var(--primary); font-size: .75rem; flex-shrink: 0; }

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.process-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.process-section .section-title { color: var(--white); }
.process-section .section-subtitle { color: rgba(255,255,255,.58); }

/* subtle grid pattern */
.process-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.process-step { text-align: center; position: relative; padding: 0 1rem; }
.process-num {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: rgba(37,99,235,.14);
  border: 2px solid rgba(37,99,235,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.625rem;
  font-size: 1.875rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #60a5fa;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.process-step:hover .process-num {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}
.process-connector {
  position: absolute;
  top: 42px;
  left: calc(50% + 44px);
  width: calc(100% - 88px);
  height: 1px;
  background: linear-gradient(90deg, rgba(37,99,235,.5), rgba(37,99,235,.1));
}
.process-step h4 { font-size: 1.0625rem; font-weight: 700; color: var(--white); margin-bottom: .5rem; }
.process-step p  { font-size: .875rem; color: rgba(255,255,255,.56); }

/* ============================================================
   PORTFOLIO SECTION
   ============================================================ */
.portfolio-section { background: var(--light); }

.filter-bar {
  display: flex; flex-wrap: wrap; gap: .5rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: .5rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background: var(--dark-2);
  display: block;
}
.portfolio-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-6px); }
.portfolio-card img {
  width: 100%; height: 240px;
  object-fit: cover;
  transition: var(--transition-slow);
  display: block;
}
.portfolio-card:hover img { transform: scale(1.06); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,14,36,.92) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}
.portfolio-cat {
  font-size: .7375rem;
  font-weight: 700;
  color: #60a5fa;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .3rem;
}
.portfolio-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
}
.portfolio-arrow {
  position: absolute; top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: .875rem;
  opacity: 0;
  transform: scale(.7);
  transition: var(--transition);
}
.portfolio-card:hover .portfolio-arrow { opacity: 1; transform: scale(1); }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-section { background: var(--white); }
.why-card {
  display: flex;
  gap: 1.125rem;
  padding: 1.75rem;
  background: var(--light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform .15s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
  height: 100%;
  will-change: transform;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.why-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-vivid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.why-card:hover {
  box-shadow: 0 18px 50px rgba(37,99,235,.14), 0 6px 20px rgba(0,0,0,.1);
  border-color: rgba(37,99,235,.2);
  background: var(--white);
}
.why-card:hover::after { transform: scaleX(1); }
.why-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  color: var(--white);
  flex-shrink: 0;
}
.why-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.why-card p  { font-size: .875rem; color: var(--text-muted); line-height: 1.65; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
   /* WRAPPER */
.testi-wrapper {
  overflow: hidden;
  position: relative;
}

/* TRACK (HORIZONTAL LINE) */
.testi-track {
  display: flex;
  gap: 25px;
  width: max-content;
  animation: scrollLTR 30s linear infinite;
}

/* CARD */
.testi-card {
  min-width: 300px;
  max-width: 300px;
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* AUTHOR */
.testi-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
}

/* IMAGE */
.testi-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

/* LEFT → RIGHT ANIMATION */
@keyframes scrollLTR {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* PAUSE ON HOVER */
.testi-wrapper:hover .testi-track {
  animation-play-state: paused;
}
.testimonials-section { background: var(--light); }
.testi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}
.testi-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.testi-stars { color: #f59e0b; font-size: .9rem; letter-spacing: 2px; margin-bottom: 1rem; }
.testi-text {
  font-size: .9375rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}
.testi-author { display: flex; align-items: center; gap: 1rem; }
.testi-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  font-family: var(--font-heading);
}
.testi-name { font-weight: 700; font-size: .9375rem; }
.testi-pos  { font-size: .8rem; color: var(--text-muted); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: rgba(37,99,235,.12);
  top: -200px; right: -200px;
  filter: blur(80px);
}
.cta-section::after {
  content: '';
  position: absolute;
  width: 450px; height: 450px;
  border-radius: 50%;
  background: rgba(8,145,178,.12);
  bottom: -120px; left: -100px;
  filter: blur(70px);
}
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-inner h2 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  margin-bottom: 1.125rem;
}
.cta-inner p {
  color: rgba(255,255,255,.68);
  font-size: 1.0625rem;
  max-width: 540px;
  margin: 0 auto 2.5rem;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--gradient-hero);
  padding: 155px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(37,99,235,.12);
  top: -150px; right: -150px;
  filter: blur(90px);
  pointer-events: none;
}
.page-hero .pg-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(37,99,235,.18);
  border: 1px solid rgba(37,99,235,.4);
  color: #93c5fd;
  font-size: .8125rem;
  font-weight: 600;
  padding: .375rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.375rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}
.page-hero p {
  color: rgba(255,255,255,.68);
  font-size: 1.0625rem;
  max-width: 540px;
  line-height: 1.8;
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.5rem;
}
.breadcrumb-list a { color: rgba(255,255,255,.55); font-size: .875rem; transition: var(--transition); }
.breadcrumb-list a:hover { color: var(--white); }
.breadcrumb-list .sep { color: rgba(255,255,255,.3); }
.breadcrumb-list .cur { color: var(--white); font-weight: 500; font-size: .875rem; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-xl);
}
.form-label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--dark-3);
  margin-bottom: .4rem;
  display: block;
}
.form-control {
  width: 100%;
  padding: .875rem 1.125rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9375rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.form-control::placeholder { color: var(--text-muted); opacity: .7; }
textarea.form-control { resize: vertical; min-height: 140px; }

.ci-card {
  background: var(--dark-2);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.125rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,.06);
  transition: var(--transition);
}
.ci-card:hover {
  background: rgba(37,99,235,.14);
  border-color: rgba(37,99,235,.3);
}
.ci-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: rgba(37,99,235,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  color: #60a5fa;
  flex-shrink: 0;
}
.ci-card h4 {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .3rem;
}
.ci-card p, .ci-card a {
  color: var(--white);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.6;
  transition: var(--transition);
}
.ci-card a:hover { color: #60a5fa; }

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: .9375rem;
}
.alert-success { background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.3); color: #059669; }
.alert-danger  { background: rgba(239, 68,68,.1); border: 1px solid rgba(239,68,68,.3);  color: #dc2626; }

/* ============================================================
   ABOUT PAGE SPECIFIC
   ============================================================ */
.mission-card {
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--white);
  text-align: center;
  height: 100%;
}
.mission-card .mi-icon { font-size: 3rem; margin-bottom: 1.125rem; }
.mission-card h3 { color: var(--white); font-size: 1.375rem; margin-bottom: .875rem; }
.mission-card p  { opacity: .88; line-height: 1.8; }

.vision-card {
  background: var(--dark-2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--white);
  text-align: center;
  height: 100%;
  border: 1px solid rgba(255,255,255,.08);
}
.vision-card .vi-icon { font-size: 3rem; margin-bottom: 1.125rem; }
.vision-card h3 { color: var(--white); font-size: 1.375rem; margin-bottom: .875rem; }
.vision-card p  { color: rgba(255,255,255,.68); line-height: 1.8; }

.value-row {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
  margin-bottom: 1rem;
}
.value-row:last-child { margin-bottom: 0; }
.value-row:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.value-num {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--primary);
  opacity: .22;
  line-height: 1;
  flex-shrink: 0;
  min-width: 50px;
}
.value-row h4 { font-size: 1rem; font-weight: 700; margin-bottom: .3rem; }
.value-row p  { font-size: .875rem; color: var(--text-muted); }

/* ============================================================
   SERVICES PAGE SPECIFIC
   ============================================================ */
.service-detail-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}
.service-detail-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
}
.sdc-header {
  background: var(--gradient-primary);
  padding: 2.5rem 2rem 2rem;
  position: relative;
}
.sdc-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sdc-img {
  width: 30px;
  height: 30px;
}
 
.sdc-header h3 { color: var(--white); font-size: 1.375rem; }
.sdc-body { padding: 1.75rem 2rem 2rem; }
.sdc-body p { color: var(--text-muted); font-size: .9375rem; margin-bottom: 1.25rem; }
.sdc-list li {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .875rem;
  color: var(--text);
  padding: .375rem 0;
  border-bottom: 1px solid var(--border);
}
.sdc-list li:last-child { border-bottom: none; }
.sdc-list li i { color: var(--primary); font-size: .75rem; flex-shrink: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--dark); padding: 80px 0 0; }
.footer-logo { height: 50px; margin-bottom: 1.125rem; }
.footer-brand p {
  font-size: .9375rem;
  color: rgba(255,255,255,.55);
  max-width: 290px;
  line-height: 1.8;
  margin-top: .5rem;
}
.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.375rem;
  padding-bottom: .75rem;
  position: relative;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}
.footer-links li { margin-bottom: .5rem; }
.footer-links a {
  color: rgba(255,255,255,.55);
  font-size: .9375rem;
  display: flex;
  align-items: center;
  gap: .375rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: .25rem; }
.footer-links a i { font-size: .65rem; }

.footer-ci { display: flex; align-items: flex-start; gap: .875rem; margin-bottom: 1.125rem; }
.footer-ci-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(37,99,235,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem;
  color: #60a5fa;
  flex-shrink: 0; margin-top: 2px;
}
.footer-ci p { font-size: .875rem; color: rgba(255,255,255,.55); line-height: 1.65; }
.footer-ci a { color: rgba(255,255,255,.55); transition: var(--transition); }
.footer-ci a:hover { color: var(--white); }

.footer-social { display: flex; gap: .625rem; margin-top: 1.5rem; }
.soc-link {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55);
  transition: var(--transition);
}
.soc-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 4rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer-copy { font-size: .875rem; color: rgba(255,255,255,.42); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a {
  font-size: .875rem;
  color: rgba(255,255,255,.42);
  transition: var(--transition);
}
.footer-legal a:hover { color: var(--white); }

/* scroll-top styles → see SCROLL-TO-TOP ENHANCEMENT block at bottom */

/* ============================================================
   UTILITIES
   ============================================================ */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.container-fluid { padding: 0 1.5rem; }

.row { display: flex; flex-wrap: wrap; margin: 0 -.75rem; }
.col, [class*="col-"] { padding: 0 .75rem; }

.g-4 > * { padding: .75rem; }
.g-5 > * { padding: 1.25rem; }
.gy-4 > * { padding-top: .75rem; padding-bottom: .75rem; }

.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-2  { gap: .5rem; }
.gap-3  { gap: 1rem; }
.gap-4  { gap: 1.5rem; }
.gap-5  { gap: 3rem; }
.mt-auto { margin-top: auto; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: .25rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.p-0 { padding: 0; }
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.fw-700 { font-weight: 700; }
.opacity-75 { opacity: .75; }
.w-100 { width: 100%; }

/* Bootstrap 5 grid cols */
.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6  { flex: 0 0 50%; max-width: 50%; }

@media (min-width: 576px) {
  .col-sm-6  { flex: 0 0 50%; max-width: 50%; }
}
@media (min-width: 768px) {
  .col-md-4  { flex: 0 0 33.333%; max-width: 33.333%; }
  .col-md-6  { flex: 0 0 50%; max-width: 50%; }
  .col-md-8  { flex: 0 0 66.666%; max-width: 66.666%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}
@media (min-width: 992px) {
  .col-lg-2  { flex: 0 0 16.666%; max-width: 16.666%; }
  .col-lg-3  { flex: 0 0 25%; max-width: 25%; }
  .col-lg-4  { flex: 0 0 33.333%; max-width: 33.333%; }
  .col-lg-5  { flex: 0 0 41.666%; max-width: 41.666%; }
  .col-lg-6  { flex: 0 0 50%; max-width: 50%; }
  .col-lg-7  { flex: 0 0 58.333%; max-width: 58.333%; }
  .col-lg-8  { flex: 0 0 66.666%; max-width: 66.666%; }
  .col-lg-10 { flex: 0 0 83.333%; max-width: 83.333%; }
  .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
  .offset-lg-1 { margin-left: 8.333%; }
  .order-lg-1  { order: 1; }
  .order-lg-2  { order: 2; }
  .d-lg-flex   { display: flex !important; }
  .d-lg-none   { display: none !important; }
}
@media (min-width: 1200px) {
  .col-xl-3 { flex: 0 0 25%; max-width: 25%; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
  section { padding: 75px 0; }
  .hero-section { padding: 145px 0 75px; min-height: auto; }
  .hero-visual { margin-top: 3rem; }
  .hero-cards-grid { max-width: 520px; margin: 0 auto; }

  /* Mobile: wrap allows nav-collapse to drop below logo row */
  .site-header .navbar > .container { flex-wrap: wrap; }

  /* Mobile: show hamburger, collapse nav by default */
  .navbar-toggler {
    display: flex;
    align-items: center;
    border: none;
    background: rgba(255,255,255,.1);
    border-radius: var(--radius-sm);
    padding: .5rem .625rem;
    cursor: pointer;
  }

  .navbar-collapse {
    display: none !important;
    width: 100%;
  }
  .navbar-collapse.show {
    display: block !important;
    background: rgba(10,14,36,.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-lg);
    margin-top: 1rem;
    border: 1px solid rgba(255,255,255,.1);
  }
  .navbar-collapse.show .navbar-nav {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: .25rem !important;
  }

  /* Mobile dropdown: static, no shadow */
  .site-header .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,.06);
    border-radius: var(--radius-sm);
    padding: .25rem 0 .25rem .75rem;
    margin: .25rem 0 .5rem;
  }
  .site-header .dropdown-menu.show { display: block; }

  /* Light mode: mobile static dropdown */
  [data-theme="light"] .site-header .dropdown-menu {
    background: rgba(37,99,235,.06);
    border: 1px solid rgba(37,99,235,.12);
  }
  [data-theme="light"] .site-header .dropdown-menu li a { color: #1e3a8a; }

  .nav-cta { margin-top: .5rem; }
  .about-exp-badge { right: 16px; }

  .stats-bar .stat-divider { display: none; }
  .stats-bar .stat-item { padding: .75rem 1rem; }

  .process-connector { display: none; }
  .process-step { margin-bottom: 2rem; }
}

@media (max-width: 767.98px) {
  section { padding: 60px 0; }
  .hero-title { font-size: 2.5rem; }
  .hero-stats { gap: 0; flex-wrap: nowrap; }
  .hero-stat { flex: 1; padding: 0 .25rem; border-right: 1px solid rgba(255,255,255,.12); }
  .hero-stat:last-child { border-right: none; }
  .hero-stat-num { font-size: 1.125rem !important; }
  .hero-stat-lbl { font-size: .6rem; }
  .hero-cards-grid { grid-template-columns: 1fr; }
  .hero-card.wide { display: block; }
  .hero-card.wide .icon { margin-bottom: .75rem; }

  .about-features { grid-template-columns: 1fr; }
  .about-img { height: 300px; }
  .about-exp-badge { position: static; display: inline-block; margin-top: 1.5rem; }

  .solution-features { grid-template-columns: 1fr; }
  .solution-img, .solution-img-placeholder { height: 260px; }

  .contact-form-card { padding: 1.75rem; }

  .footer-bottom { text-align: center; }
  .footer-bottom > .container > .d-flex { flex-direction: column; gap: 1rem; }
  .footer-legal { justify-content: center; }

  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 280px; justify-content: center; }
}

@media (max-width: 575.98px) {
  .hero-title { font-size: 2.125rem; }
  .hero-tagline { font-size: 1.125rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stats-bar .row { flex-direction: column; }
  .stat-item { padding: .875rem 1.5rem; }
}

/* ============================================================
   PRODUCTS PAGE
   ============================================================ */
.product-section { padding: 100px 0; }

/* Quick-nav cards at top of products page */
.product-nav-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius);
  padding: 1.125rem 1.25rem;
  text-decoration: none;
  transition: var(--transition);
  color: var(--white);
}
.product-nav-card:hover {
  border-color: var(--primary);
  background: rgba(37,99,235,.12);
  transform: translateY(-3px);
  color: var(--white);
  text-decoration: none;
}
.product-nav-card .pnc-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.375rem;
  flex-shrink: 0;
}
.product-nav-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 .15rem;
}
.product-nav-card p {
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
  margin: 0;
}
.pnc-arrow {
  margin-left: auto;
  color: rgba(255,255,255,.3);
  font-size: .75rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.product-nav-card:hover .pnc-arrow { color: var(--primary); transform: translateX(3px); }

/* Product visual block (decorative card) */
.product-visual {
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}
.product-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.04);
  border-radius: inherit;
}
.product-visual-img .product-visual {
  background: linear-gradient(135deg,#fef3c7,#fde68a,#fbbf24);
  display: flex;
  align-items: center;      
  justify-content: center;  
  /* Horizontal center */
  min-height: 350px;        
  border-radius: 16px;
  overflow: hidden;
}

.product-visual-img {
  max-width: 80%;
  height: auto;
  object-fit: contain;
}
.product-visual-name {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 800;
  margin-bottom: .375rem;
}
.product-visual-tagline {
  font-size: .9375rem;
  margin-bottom: 1.25rem;
}
.product-badge-strip {
  display: flex;
  gap: .5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.product-badge-strip span {
  background: rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  font-size: .75rem;
  font-weight: 600;
  padding: .3rem .75rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

/* ============================================================
   3D TILT CARD SYSTEM
   ============================================================ */
.tilt-card {
  will-change: transform;
  transform-style: preserve-3d;
  transition: box-shadow .3s ease !important;
  /* JS overrides transform inline on mousemove */
}
.tilt-card:hover { transition: box-shadow .3s ease !important; }

/* Section heading styles consolidated at top of file */

/* ============================================================
   CLIENTS SECTION
   ============================================================ */
.clients-section {
  background: linear-gradient(180deg, #0d1428 0%, #0f172a 100%);
  padding: 0 0 100px;
  position: relative;
  overflow: hidden;
}
.clients-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Infinite scrolling ticker */
.clients-ticker {
  padding: 1.375rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.25);
  margin-bottom: 80px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
}
.ticker-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: tickerScroll 32s linear infinite;
  width: max-content;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  font-weight: 600;
  font-size: .9rem;
  color: rgba(255,255,255,.48);
  flex-shrink: 0;
  padding: 0 2.5rem;
  letter-spacing: .02em;
  transition: color .25s ease;
}
.ticker-item:hover { color: rgba(255,255,255,.85); }
.ticker-sep {
  color: rgba(37,99,235,.5);
  font-size: .625rem;
}
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Government / Prestige client banner */
.prestige-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .625rem;
  margin-bottom: 3rem;
}
.prestige-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(37,99,235,.1);
  border: 1px solid rgba(37,99,235,.25);
  border-radius: var(--radius-full);
  padding: .35rem 1rem;
  font-size: .8125rem;
  font-weight: 600;
  color: #93c5fd;
}
.prestige-badge.army   { background: rgba(71,101,63,.15); border-color: rgba(71,101,63,.35); color: #86efac; }
.prestige-badge.govt   { background: rgba(180,114,26,.1); border-color: rgba(180,114,26,.3); color: #fcd34d; }
.prestige-badge.railway{ background: rgba(30,58,138,.2);  border-color: rgba(59,130,246,.35); color: #93c5fd; }

/* Client card grid */
.client-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 1.625rem 1.25rem;
  text-align: center;
  transition: transform .2s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  will-change: transform;
}
.client-card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-vivid);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.client-card:hover {
  transform: translateY(-8px);
  border-color: rgba(37,99,235,.35);
  background: rgba(37,99,235,.07);
  box-shadow: 0 20px 50px rgba(0,0,0,.35), 0 0 30px rgba(37,99,235,.12);
}
.client-card:hover::before { opacity: .05; }

.client-logo-badge {
  width: 68px; height: 68px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.625rem;
  font-weight: 800;
  font-family: var(--font-heading);
  margin: 0 auto 1rem;
  position: relative;
  z-index: 1;
}
.client-name {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .25rem;
  position: relative; z-index: 1;
}
.client-sector {
  font-size: .775rem;
  color: rgba(255,255,255,.42);
  position: relative; z-index: 1;
  line-height: 1.5;
}

/* "100+ More" overflow card */
.client-card-more {
  background: var(--gradient-vivid);
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.75rem;
}
.client-card-more:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(37,99,235,.4), var(--shadow-glow);
  border-color: transparent;
  background: var(--gradient-vivid);
}
.client-card-more::before { display: none; }
.client-count {
  font-size: 2.75rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--white);
  line-height: 1;
  margin-bottom: .25rem;
}
.client-count-lbl {
  font-size: .875rem;
  color: rgba(255,255,255,.8);
  font-weight: 600;
}

/* ============================================================
   SECTION WAVE DIVIDER
   ============================================================ */
.wave-divider {
  height: 60px;
  position: relative;
  overflow: hidden;
}
.wave-divider svg {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 100%;
}

/* ============================================================
   ENHANCED HERO CARDS
   ============================================================ */
.hero-card {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 1.125rem 1.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .2s ease, box-shadow .3s ease, border-color .3s ease;
  will-change: transform;
}
.hero-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37,99,235,.5);
  box-shadow: 0 15px 40px rgba(0,0,0,.3), 0 0 25px rgba(37,99,235,.15);
}
.hero-card .icon {
  font-size: 1.875rem;
  margin-bottom: .625rem;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.3));
}
.hero-card h4 { font-size: .9375rem; font-weight: 700; color: var(--white); margin-bottom: .25rem; }
.hero-card p  { font-size: .8125rem; color: rgba(255,255,255,.6); line-height: 1.55; margin: 0; }
.hero-card.wide {
  grid-column: span 2;
  border-color: rgba(37,99,235,.3);
  background: rgba(37,99,235,.12);
  display: flex; align-items: center; gap: 1rem;
}
.hero-card.wide .icon { font-size: 2.25rem; margin-bottom: 0; flex-shrink: 0; }

/* ============================================================
   SCROLL-TO-TOP ENHANCEMENT
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 48px; height: 48px;
  background: var(--gradient-vivid);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  opacity: 0; transform: translateY(20px) scale(.8);
  transition: opacity .35s ease, transform .35s ease, box-shadow .3s ease;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37,99,235,.4);
}
.scroll-top.visible { opacity: 1; transform: translateY(0) scale(1); }
.scroll-top:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: var(--shadow-glow);
}

/* ============================================================
   NAV CONTROLS — wraps theme toggle + hamburger
   ============================================================ */
.nav-controls {
  display: flex;
  align-items: center;
  gap: .625rem;
  margin-left: auto; /* push to right on mobile until the collapse sits beside it */
}
@media (min-width: 992px) { .nav-controls { margin-left: 0; } }

/* ============================================================
   THEME TOGGLE BUTTON
   ============================================================ */
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.75);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .9375rem;
  transition: all .3s cubic-bezier(.23,1,.32,1);
  flex-shrink: 0;
  line-height: 1;
}
.theme-toggle:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.3);
  color: var(--white);
  transform: rotate(20deg) scale(1.1);
}

/* ============================================================
   CUSTOM SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #060c1f; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #4f46e5, #0891b2);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, #4f46e5, #2563eb, #0891b2);
  z-index: 9999;
  width: 0%;
  box-shadow: 0 0 12px rgba(37,99,235,.7);
  transition: width .08s linear;
}

/* ============================================================
   LIGHT MODE — [data-theme="light"] overrides
   Dark sections (hero, stats-bar, process, cta, footer,
   page-hero) stay dark intentionally.
   ============================================================ */

[data-theme="light"] body { background: #f1f5f9; }

/* Scrollbar */
[data-theme="light"] ::-webkit-scrollbar-track { background: #e2e8f0; }
[data-theme="light"] ::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--primary), var(--accent)); }

/* --- Header --- */
[data-theme="light"] .site-header {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
[data-theme="light"] .site-header.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
}
[data-theme="light"] .site-header .nav-link { color: #374151 !important; }
[data-theme="light"] .site-header .nav-link:hover,
[data-theme="light"] .site-header .nav-link.active {
  color: var(--primary) !important;
  background: rgba(37,99,235,.08);
}
[data-theme="light"] .site-header .dropdown-menu {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 20px 60px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
}
[data-theme="light"] .site-header .dropdown-menu li a { color: #374151; }
[data-theme="light"] .site-header .dropdown-menu li a:hover {
  color: var(--primary);
  background: rgba(37,99,235,.07);
}
[data-theme="light"] .hamburger span { background: #1e293b; }
[data-theme="light"] .theme-toggle {
  background: rgba(15,23,42,.07);
  border-color: rgba(15,23,42,.12);
  color: #475569;
}
[data-theme="light"] .theme-toggle:hover {
  background: rgba(37,99,235,.1);
  color: var(--primary);
}
[data-theme="light"] .navbar-toggler { background: rgba(15,23,42,.07); }
[data-theme="light"] .navbar-collapse.show {
  background: rgba(255,255,255,.98);
  border-color: #e2e8f0;
}

/* --- Section wrappers --- */
[data-theme="light"] .services-section     { background: var(--white); }
[data-theme="light"] .companies-section    { background: #f8fafc; }
[data-theme="light"] .solutions-section    { background: var(--white); }
[data-theme="light"] .why-section          { background: #f1f5f9; }
[data-theme="light"] .testimonials-section { background: var(--white); }
[data-theme="light"] .portfolio-section    { background: #f8fafc; }
[data-theme="light"] .about-section        { background: var(--white); }
[data-theme="light"] .contact-section      { background: #f8fafc; }

/* --- Cards --- */
[data-theme="light"] .service-card {
  background: var(--white);
  border-color: #e2e8f0;
}
[data-theme="light"] .service-card:hover { border-color: rgba(37,99,235,.3); }

[data-theme="light"] .why-card {
  background: var(--white);
  border-color: #e2e8f0;
}
[data-theme="light"] .why-card:hover { border-color: rgba(37,99,235,.25); }

[data-theme="light"] .testimonial-card {
  background: var(--white);
  border-color: #e2e8f0;
}

[data-theme="light"] .portfolio-card {
  background: var(--white);
  box-shadow: var(--shadow-card);
}

[data-theme="light"] .about-feature {
  background: #f8fafc;
  border-color: #e2e8f0;
}

[data-theme="light"] .solution-row {
  background: #f8fafc;
  border-color: #e2e8f0;
}

[data-theme="light"] .contact-form-card {
  background: #ffffff;
  box-shadow: var(--shadow-lg);
}
[data-theme="light"] .contact-info-card {
  background: #f8fafc;
  border-color: #e2e8f0;
}

/* --- Form inputs --- */
[data-theme="light"] .form-control {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: var(--dark);
}
[data-theme="light"] .form-control:focus { background: var(--white); }

/* --- Portfolio filter --- */
[data-theme="light"] .filter-btn {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: var(--text);
}
[data-theme="light"] .filter-btn.active,
[data-theme="light"] .filter-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* --- Clients section --- */
[data-theme="light"] .clients-section {
  background: linear-gradient(180deg, #eef2ff 0%, #f0f9ff 100%);
}
[data-theme="light"] .clients-ticker {
  background: rgba(37,99,235,.06);
  border-color: rgba(37,99,235,.12);
}
[data-theme="light"] .ticker-item  { color: rgba(30,41,59,.45); }
[data-theme="light"] .ticker-sep   { color: rgba(37,99,235,.35); }
[data-theme="light"] .prestige-badge {
  background: rgba(37,99,235,.08);
  border-color: rgba(37,99,235,.18);
  color: #1e40af;
}
[data-theme="light"] .client-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 20px rgba(37,99,235,.07), 0 1px 4px rgba(0,0,0,.05);
}
[data-theme="light"] .client-card:hover {
  background: #f0f4ff;
  border-color: rgba(37,99,235,.25);
  box-shadow: 0 16px 48px rgba(37,99,235,.12);
}
[data-theme="light"] .client-icon-wrap {
  background: rgba(37,99,235,.08);
  border-color: rgba(37,99,235,.15);
}
[data-theme="light"] .client-name   { color: #0f172a; }
[data-theme="light"] .client-sector { color: #64748b; }
[data-theme="light"] .client-card-more {
  background: rgba(37,99,235,.06);
  border-color: rgba(37,99,235,.18);
  color: var(--primary);
}
[data-theme="light"] .client-card-more:hover { background: rgba(37,99,235,.12); }

/* --- Products page --- */
[data-theme="light"] .product-nav-card {
  background: #ffffff;
  border-color: #e2e8f0;
}
[data-theme="light"] .product-nav-card:hover { border-color: rgba(37,99,235,.3); }

/* --- Section labels & typography --- */
[data-theme="light"] .section-label {
  background: rgba(37,99,235,.1);
  border-color: rgba(37,99,235,.2);
}

/* ============================================================
   GSAP ANIMATION BASE — elements GSAP will animate from
   (No visibility: hidden needed; GSAP uses from() so elements
   are visible by default and GSAP adds entrance on scroll)
   ============================================================ */
/* Hero text elements animated by GSAP on page load */
.hero-badge, .hero-title, .hero-tagline,
.hero-desc, .hero-actions, .hero-stat {
  will-change: transform, opacity;
}

/* Decorative backgrounds animated by GSAP parallax */
.blob-1, .blob-2, .blob-3,
.shape-1, .shape-2, .shape-3, .shape-4 {
  will-change: transform;
}

/* Smooth reveal for GSAP elements (fallback if GSAP not loaded) */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============================================================
   IOT PAGE COMPONENTS
   ============================================================ */

/* IoT spec chips row */
.iot-specs-row {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
  margin-bottom: 1.5rem;
}
.iot-spec {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: .4rem 1rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
}
.iot-spec i { color: var(--primary); font-size: .875rem; }
[data-theme="light"] .iot-spec { background: var(--white); }

/* IoT feature mini-cards (smart home grid) */
.iot-feature-card {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: .875rem 1rem;
  transition: var(--transition);
}
.iot-feature-card:hover {
  border-color: rgba(37,99,235,.25);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.iot-feature-card strong {
  display: block;
  font-size: .9375rem;
  color: var(--dark);
  margin-bottom: .2rem;
}
.iot-feature-card p {
  font-size: .8125rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}
[data-theme="light"] .iot-feature-card { background: #f8fafc; border-color: #e2e8f0; }
[data-theme="light"] .iot-feature-card:hover { background: var(--white); border-color: rgba(37,99,235,.2); }

/* How-it-works step cards (dark bg) */
.how-step {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
  transition: var(--transition);
}
.how-step:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(37,99,235,.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,.2);
}
.how-step-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(37,99,235,.2);
  line-height: 1;
  margin-bottom: .5rem;
}
.how-step-icon {
  width: 50px; height: 50px;
  background: rgba(37,99,235,.15);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(37,99,235,.25);
}
.how-step h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .5rem;
}
.how-step p {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   FAQ PAGE COMPONENTS
   ============================================================ */

/* Category tab strip */
.faq-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
  padding-bottom: 1.5rem;
}
.faq-cat-tab {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1.25rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.faq-cat-tab:hover,
.faq-cat-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.faq-cat-tab:hover i, .faq-cat-tab.active i { color: var(--white) !important; }

/* FAQ section header */
.faq-section {
  margin-bottom: 3rem;
  scroll-margin-top: 100px;
}
.faq-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}
.faq-section-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}
.faq-section h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

/* Accordion items */
.faq-list { display: flex; flex-direction: column; gap: .625rem; }

.faq-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.faq-item.open {
  border-color: rgba(37,99,235,.3);
  box-shadow: 0 4px 20px rgba(37,99,235,.08);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.125rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  transition: color .25s ease;
}
.faq-question:hover { color: var(--primary); }
.faq-item.open .faq-question { color: var(--primary); }

.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: .75rem;
  color: var(--primary);
  transition: background .25s ease, transform .25s ease;
}
.faq-item.open .faq-icon { background: var(--primary); color: var(--white); transform: rotate(0deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(.4,0,.2,1);
}
.faq-answer > div {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
  font-size: .9375rem;
  line-height: 1.8;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 0;
}

/* Light mode FAQ */
[data-theme="light"] .faq-cat-tab { background: var(--white); border-color: #e2e8f0; }
[data-theme="light"] .faq-item { background: var(--white); border-color: #e2e8f0; }
[data-theme="light"] .faq-item.open { border-color: rgba(37,99,235,.25); }
[data-theme="light"] .faq-question { color: #0f172a; }
[data-theme="light"] .faq-answer > div { border-color: #e2e8f0; color: #4b5563; }
[data-theme="light"] .faq-icon { background: #f1f5f9; }

@media (max-width: 767.98px) {
  .faq-cat-tabs { gap: .375rem; }
  .faq-cat-tab  { font-size: .8125rem; padding: .4rem 1rem; }
  .faq-question { font-size: .9375rem; padding: 1rem; }
}

/* ============================================================
   3D EFFECTS SYSTEM
   All 3D enhancements are grouped here.
   Each section is safe: no AOS conflicts (hover-only or on
   elements confirmed to have no data-aos attributes).
   ============================================================ */

/* ----------------------------------------------------------
   TILT CARD — moving glare spotlight overlay
   Injected by JS into every .tilt-card
   ---------------------------------------------------------- */
.tilt-card { position: relative; }

.tilt-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%),
    rgba(255,255,255,.15) 0%,
    rgba(255,255,255,.05) 30%,
    transparent 65%);
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity .25s ease;
}
.tilt-card:hover .tilt-glare { opacity: 1; }

/* ----------------------------------------------------------
   PERSPECTIVE CONTAINERS
   Applied to grid rows so child card tilts look more 3D
   ---------------------------------------------------------- */
.services-section .row,
.why-section .row,
.clients-section .row {
  perspective: 1600px;
  perspective-origin: 50% 40%;
}

/* ----------------------------------------------------------
   SERVICE ICON — 3D spin on card hover
   .service-card has overflow:hidden so we use rotateY only
   (no translateZ which would clip). .svc-icon needs
   transform-style so the icon itself renders in 3D space.
   ---------------------------------------------------------- */
.svc-icon {
  transform-style: preserve-3d;
  transition: transform .45s cubic-bezier(.23,1,.32,1), background .3s ease, color .3s ease, box-shadow .3s ease;
}
.service-card:hover .svc-icon {
  transform: rotateY(20deg) scale(1.1);
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}

/* ----------------------------------------------------------
   WHY-ICON — 3D tilt on card hover
   ---------------------------------------------------------- */
.why-icon {
  transform-style: preserve-3d;
  transition: transform .45s cubic-bezier(.23,1,.32,1);
}
.why-card:hover .why-icon {
  transform: rotateX(-14deg) rotateY(12deg) scale(1.12);
}

/* ----------------------------------------------------------
   PROCESS STEPS — 3D hover lift
   (GSAP also adds rotateX scroll-entrance on these)
   ---------------------------------------------------------- */
.process-step {
  transform-style: preserve-3d;
  transition: transform .4s cubic-bezier(.23,1,.32,1), box-shadow .35s ease;
}
.process-step:hover {
  transform: translateY(-8px) rotateX(4deg);
  box-shadow: 0 28px 65px rgba(0,0,0,.38), 0 0 35px rgba(37,99,235,.12);
}

/* ----------------------------------------------------------
   STAT ITEMS — 3D lift on hover
   data-aos is on .stat-item, but hover applies after AOS done
   ---------------------------------------------------------- */
.stat-item {
  cursor: default;
  transition: transform .35s cubic-bezier(.23,1,.32,1);
}
.stat-item:hover { transform: translateY(-6px) scale(1.04); }

/* ----------------------------------------------------------
   HERO CARDS GRID — 3D perspective for mouse parallax
   GSAP quickTo rotates this grid on mousemove in hero section
   ---------------------------------------------------------- */
.hero-cards-grid {
  transform-style: preserve-3d;
}

/* Staggered floating animation on hero cards.
   Uses translateY only (no rotation) to avoid conflicting
   with GSAP rotateY/rotateX on parent .hero-cards-grid.
   On hover: animation paused, existing :hover transform applies. */
@keyframes heroCardFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
.hero-cards-grid .hero-card {
  animation: heroCardFloat 6s ease-in-out infinite;
  will-change: transform;
}
.hero-cards-grid .hero-card:nth-child(1) { animation-duration: 6.0s; animation-delay:  -0.3s; }
.hero-cards-grid .hero-card:nth-child(2) { animation-duration: 7.5s; animation-delay:  -1.2s; }
.hero-cards-grid .hero-card:nth-child(3) { animation-duration: 5.5s; animation-delay:  -2.5s; }
.hero-cards-grid .hero-card:nth-child(4) { animation-duration: 8.0s; animation-delay:  -0.8s; }
.hero-cards-grid .hero-card:nth-child(5) { animation-duration: 6.5s; animation-delay:  -3.1s; }
/* Pause float on hover so existing hover transform takes effect */
.hero-cards-grid .hero-card:hover { animation-play-state: paused; }

/* ----------------------------------------------------------
   HERO TITLE — depth glow on the accent text
   ---------------------------------------------------------- */
.hero-title .line-accent {
  filter: drop-shadow(0 0 22px rgba(37,99,235,.55))
          drop-shadow(0 4px 14px rgba(37,99,235,.3));
}

/* Section title gradient text depth */
.section-title .text-gradient {
  filter: drop-shadow(0 2px 10px rgba(37,99,235,.22));
}

/* ----------------------------------------------------------
   IOT FEATURE CARDS — 3D hover
   ---------------------------------------------------------- */
.iot-feature-card {
  transform-style: preserve-3d;
  transition: transform .38s cubic-bezier(.23,1,.32,1), border-color .3s, box-shadow .3s;
}
.iot-feature-card:hover {
  transform: translateY(-6px) rotateX(4deg);
  border-color: rgba(37,99,235,.3);
  box-shadow: 0 18px 45px rgba(0,0,0,.14);
}

/* HOW-STEPS — 3D hover lift
   (GSAP also adds rotateY scroll-entrance on these)          */
.how-step {
  transition: transform .4s cubic-bezier(.23,1,.32,1), background .3s, box-shadow .3s;
  transform-style: preserve-3d;
}
.how-step:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(-3deg);
  background: rgba(255,255,255,.08);
  box-shadow: 0 32px 70px rgba(0,0,0,.35), 0 0 30px rgba(37,99,235,.1);
}

/* IOT SPEC CHIPS — subtle 3D on hover */
.iot-spec {
  transition: transform .28s ease, box-shadow .28s ease;
}
.iot-spec:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 22px rgba(0,0,0,.13);
}

/* FAQ ITEMS — micro 3D lift on hover */
.faq-item {
  transform-style: preserve-3d;
  transition: transform .3s cubic-bezier(.23,1,.32,1), border-color .25s ease, box-shadow .25s ease;
}
.faq-item:not(.open):hover {
  transform: translateY(-2px) scale(1.003);
}

/* PRODUCT NAV CARDS — 3D on products page */
.product-nav-card {
  transition: transform .38s cubic-bezier(.23,1,.32,1), box-shadow .3s ease;
  transform-style: preserve-3d;
}
.product-nav-card:hover {
  transform: translateY(-8px) rotateX(4deg);
}

/* ----------------------------------------------------------
   ENHANCED SHAPE ANIMATIONS — add 3D rotation to shapes
   Redefines @keyframes floatShape to include rotateX/rotateY.
   GSAP parallax still overrides via inline styles on scroll.
   ---------------------------------------------------------- */
@keyframes floatShape {
  0%,  100% { transform: translateY(0px)   rotate(20deg) rotateX(0deg)  rotateY(0deg); }
  25%        { transform: translateY(-10px) rotate(25deg) rotateX(12deg) rotateY(-8deg); }
  50%        { transform: translateY(-18px) rotate(28deg) rotateX(0deg)  rotateY(18deg); }
  75%        { transform: translateY(-8px)  rotate(23deg) rotateX(-9deg) rotateY(5deg); }
}
.shape { transform-style: preserve-3d; }

/* ----------------------------------------------------------
   SCROLL-TO-TOP BUTTON — 3D press on hover
   ---------------------------------------------------------- */
.scroll-top:hover { transform: translateY(-4px) scale(1.12) rotateX(10deg); }
.scroll-top:active { transform: translateY(1px) scale(.95); }

/* ----------------------------------------------------------
   BUTTON 3D PRESS FEEDBACK
   ---------------------------------------------------------- */
.btn:active { transform: translateY(2px) scale(.97) !important; }

/* ----------------------------------------------------------
   CLIENT CARD — enhanced for dark background glow on tilt
   Augments the dynamic JS box-shadow with a base glow
   ---------------------------------------------------------- */
.client-card {
  transform-style: preserve-3d;
  transition: border-color .3s, box-shadow .3s;
}
.client-card:hover {
  border-color: rgba(37,99,235,.4);
  box-shadow: 0 0 40px rgba(37,99,235,.15), 0 15px 40px rgba(0,0,0,.4);
}

/* ----------------------------------------------------------
   LIGHT MODE OVERRIDES for 3D elements
   ---------------------------------------------------------- */
[data-theme="light"] .tilt-glare {
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%),
    rgba(255,255,255,.35) 0%,
    rgba(255,255,255,.08) 30%,
    transparent 60%);
}
[data-theme="light"] .process-step:hover {
  box-shadow: 0 28px 65px rgba(0,0,0,.18), 0 0 25px rgba(37,99,235,.08);
}
[data-theme="light"] .iot-feature-card:hover {
  box-shadow: 0 18px 45px rgba(0,0,0,.09);
}

/* ----------------------------------------------------------
   REDUCED MOTION — disable all new 3D animations
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero-cards-grid .hero-card,
  .shape,
  .process-step,
  .stat-item,
  .why-icon,
  .svc-icon,
  .iot-feature-card,
  .how-step,
  .faq-item,
  .product-nav-card,
  .scroll-top {
    animation: none !important;
    transition: none !important;
  }
  .tilt-glare { display: none; }
  #cursorDot, #cursorRing { display: none !important; }
}

/* ============================================================
   STATS BAR — SINGLE HORIZONTAL ROW
   Replaces Bootstrap col-6/col-md-3 grid with flex so all
   four stats are always on ONE line, even on small screens.
   ============================================================ */
.stats-bar { padding: 2.5rem 0; }

.stats-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 0;
}

.stats-row .stat-item {
  flex: 1;
  text-align: center;
  padding: 1.5rem .75rem;
}

/* Vertical separator lines between stats */
.stat-sep {
  width: 1px;
  height: 52px;
  flex-shrink: 0;
  background: linear-gradient(to bottom, transparent, rgba(37,99,235,.45), transparent);
}

/* Responsive font scale — keep all 4 on one row */
@media (max-width: 767.98px) {
  .stats-row .stat-item { padding: 1.25rem .375rem; }
  .stat-num  { font-size: 2rem !important; }
  .stat-lbl  { font-size: .8125rem; }
  .stat-sep  { height: 38px; }
}
@media (max-width: 479.98px) {
  .stat-num  { font-size: 1.625rem !important; }
  .stat-lbl  { font-size: .6875rem; letter-spacing: 0; }
  .stat-sep  { height: 30px; }
}

/* ============================================================
   CUSTOM 3D CURSOR
   Dot snaps to pointer; ring lerps with 0.13 factor via rAF.
   Injected into DOM by JS — these rules just style them.
   ============================================================ */

/* Hide native cursor everywhere except text inputs */
.has-custom-cursor,
.has-custom-cursor *:not(input):not(textarea) {
  cursor: none !important;
}
.has-custom-cursor input,
.has-custom-cursor textarea {
  cursor: text !important;
}

/* Cursor dot — snaps instantly to pointer position */
#cursorDot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: #2563eb;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  opacity: 0;
  transform: translate(-50%, -50%);
  will-change: left, top;
  transition: transform .15s ease, opacity .2s ease, width .18s ease, height .18s ease, background .18s ease;
  box-shadow: 0 0 0 2.5px rgba(255,255,255,.5), 0 0 14px rgba(37,99,235,.8);
}

/* Cursor ring — trails behind with JS lerp */
#cursorRing {
  position: fixed;
  top: 0; left: 0;
  width: 42px; height: 42px;
  border: 2px solid rgba(37,99,235,.55);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  opacity: 0;
  transform: translate(-50%, -50%);
  will-change: left, top;
  transition: width .22s cubic-bezier(.23,1,.32,1),
              height .22s cubic-bezier(.23,1,.32,1),
              border-color .2s ease,
              background .2s ease,
              opacity .2s ease;
}

/* Hover state: ring expands, dot hides */
.cursor-hovered #cursorDot {
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
}
.cursor-hovered #cursorRing {
  width: 58px; height: 58px;
  border-color: rgba(37,99,235,.9);
  background: rgba(37,99,235,.07);
  border-width: 2.5px;
}

/* Click state: dot pulses, ring contracts */
.cursor-clicked #cursorDot {
  transform: translate(-50%, -50%) scale(3.5);
  background: #60a5fa;
  opacity: .4;
}
.cursor-clicked #cursorRing {
  transform: translate(-50%, -50%) scale(.72);
  border-color: #2563eb;
  transition: transform .1s ease, border-color .1s ease;
}

/* ── Hero spotlight — radial glow that follows cursor ── */
.hero-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(700px circle at var(--sx, -200%) var(--sy, -200%),
    rgba(37,99,235,.18) 0%,
    rgba(8,145,178,.07) 38%,
    transparent 65%);
  border-radius: inherit;
}

/* ── Dark-section spotlight (stats-bar, process, clients) ── */
.sec-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(500px circle at var(--sx, -200%) var(--sy, -200%),
    rgba(37,99,235,.12) 0%,
    transparent 60%);
  overflow: hidden;
}

/* Light mode cursor tweaks */
[data-theme="light"] #cursorDot {
  background: #1d4ed8;
  box-shadow: 0 0 0 2px rgba(255,255,255,.8), 0 0 12px rgba(29,78,216,.6);
}
[data-theme="light"] #cursorRing {
  border-color: rgba(29,78,216,.45);
}
[data-theme="light"] .cursor-hovered #cursorRing {
  border-color: rgba(29,78,216,.85);
  background: rgba(29,78,216,.06);
}

/* Light mode — spotlight visible on white backgrounds */
[data-theme="light"] .hero-spotlight { mix-blend-mode: multiply; }
