/* ==========================================================================
   IoTISH — DARK THEME STYLESHEET
   Logo Colors: #1E5B9F (deep blue) → #29ABE2 (cyan) → #F16522 (orange) → #F9A01B (yellow)
   ========================================================================== */

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  /* Brand */
  --blue-deep:    #1E5B9F;
  --blue-mid:     #2980C4;
  --cyan:         #29ABE2;
  --orange:       #F16522;
  --yellow:       #F9A01B;

  /* Logo Gradient (left→right: blue → cyan → orange → yellow) */
  --logo-gradient: linear-gradient(90deg, #1E5B9F 0%, #29ABE2 35%, #F16522 70%, #F9A01B 100%);
  --logo-gradient-diag: linear-gradient(135deg, #1E5B9F 0%, #29ABE2 35%, #F16522 75%, #F9A01B 100%);

  /* Dark Theme Surfaces */
  --bg-base:      #070a14;
  --bg-surface:   #0d1225;
  --bg-card:      #111828;
  --bg-card-hover: #141c30;
  --bg-elevated:  #192035;

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-glow:   rgba(41, 171, 226, 0.25);
  --border-orange: rgba(241, 101, 34, 0.25);

  /* Text */
  --text-primary:  #ffffff;
  --text-secondary: rgba(255,255,255,0.7);
  --text-muted:    rgba(255,255,255,0.42);
  --text-accent:   #29ABE2;

  /* Shadows */
  --shadow-card:  0 4px 24px rgba(0,0,0,0.35);
  --shadow-glow-blue:   0 0 30px rgba(41,171,226,0.15);
  --shadow-glow-orange: 0 0 30px rgba(241,101,34,0.2);

  /* Typography */
  --font-heading: 'Funnel Display', 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', 'Funnel Display', system-ui, sans-serif;

  /* Transitions */
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --t-fast: 0.2s;
  --t-normal: 0.35s;
  --t-slow: 0.55s;

  /* Spacing */
  --section-py: 100px;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

a { text-decoration: none; transition: color var(--t-fast) ease; }

img { max-width: 100%; height: auto; }

section { padding: var(--section-py) 0; position: relative; }

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
#scroll-progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px; width: 0%;
  background: var(--logo-gradient);
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(41,171,226,0.6);
}

/* ============================================================
   PAGE GRID TEXTURE
   ============================================================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(41,171,226,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41,171,226,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -1;
  pointer-events: none;
  animation: gridDrift 35s linear infinite;
}

@keyframes gridDrift {
  from { background-position: 0 0; }
  to   { background-position: 60px 60px; }
}

/* ============================================================
   BACKGROUND GRADIENT BLOBS
   ============================================================ */
.drifting-nodes-container {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.ai-node {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: blobDrift 30s ease-in-out infinite alternate;
}

.ai-node.node-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(30,91,159,0.35) 0%, transparent 70%);
  top: -10%; left: -10%;
  animation-duration: 40s;
}

.ai-node.node-2 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(241,101,34,0.2) 0%, transparent 70%);
  bottom: -20%; right: -15%;
  animation-duration: 50s;
  animation-delay: -10s;
}

.ai-node.node-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(41,171,226,0.18) 0%, transparent 70%);
  top: 40%; left: 45%;
  animation-duration: 35s;
  animation-delay: -5s;
}

@keyframes blobDrift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(8vw, 12vh) scale(1.1); }
  66%  { transform: translate(-5vw, 8vh) scale(0.95); }
  100% { transform: translate(4vw, -10vh) scale(1.05); }
}

/* tsParticles */
#tsparticles {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

/* ============================================================
   PAGE TRANSITION OVERLAY
   ============================================================ */
#page-transition-overlay {
  position: fixed;
  inset: 0;
  background: var(--logo-gradient-diag);
  z-index: 99999;
  transform: translateY(100%);
  pointer-events: none;
}

/* ============================================================
   DATA STREAM DIVIDER
   ============================================================ */
.data-stream-divider {
  width: 100%;
  height: 1px;
  background: var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.data-stream-divider::after {
  content: '';
  position: absolute;
  top: 0; left: -40%;
  width: 40%; height: 100%;
  background: var(--logo-gradient);
  animation: streamFlow 5s linear infinite;
  opacity: 0.7;
}

@keyframes streamFlow {
  from { left: -40%; }
  to   { left: 140%; }
}

/* ============================================================
   NAVBAR — BIGGER, GLASSY, DARK
   ============================================================ */
.navbar {
  padding: 1.1rem 0;
  background: transparent;
  position: fixed;
  top: 0; width: 100%;
  z-index: 1000;
  transition: all var(--t-normal) var(--ease);
}

.navbar.scrolled {
  background: rgba(7, 10, 20, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.75rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.navbar-brand {
  display: flex;
  align-items: center;
}

/* Logo wrapper with gradient border */
.navbar-brand .logo-wrapper {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px 5px 5px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  gap: 10px;
  transition: all var(--t-normal) ease;
}

.navbar-brand .logo-wrapper:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(41,171,226,0.35);
  box-shadow: 0 0 20px rgba(41,171,226,0.12);
}

.navbar-brand img {
  height: 48px;
  width: auto;
  border-radius: 6px;
}

.navbar-brand .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.navbar-brand .brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  background: var(--logo-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.3px;
}

.navbar-brand .brand-tagline {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 2px;
  font-weight: 500;
  -webkit-text-fill-color: var(--text-muted);
}

/* Nav Links */
.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75) !important;
  margin: 0 0.5rem;
  padding: 0.4rem 0.6rem !important;
  position: relative;
  transition: color var(--t-fast) ease;
  letter-spacing: 0.2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%;
  width: 0; height: 2px;
  background: var(--logo-gradient);
  transform: translateX(-50%);
  border-radius: 2px;
  transition: width var(--t-normal) var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: #fff !important;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Header CTA Button */
.btn-header-orange {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.55rem 1.6rem;
  border-radius: 50px;
  background: var(--logo-gradient);
  color: #fff !important;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--t-normal) ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-header-orange::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity var(--t-fast) ease;
}

.btn-header-orange:hover::before { opacity: 1; }
.btn-header-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(241,101,34,0.4);
  color: #fff !important;
}

/* Careers Apply Buttons */
.btn-apply, .btn-contact-dark {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  background: var(--logo-gradient);
  color: #fff !important;
  border: none;
  display: inline-flex;
  align-items: center;
  transition: all var(--t-normal) ease;
  position: relative;
  overflow: hidden;
}

.btn-apply::before, .btn-contact-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity var(--t-fast) ease;
}

.btn-apply:hover::before, .btn-contact-dark:hover::before { opacity: 1; }
.btn-apply:hover, .btn-contact-dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(241,101,34,0.35);
  color: #fff !important;
}

/* Navbar toggler */
.navbar-toggler {
  color: white;
}

.navbar-toggler i {
  color: white;
}

/* Mobile nav */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(10, 14, 28, 0.97);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-top: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    max-height: 80vh;
    overflow-y: auto;
  }

  .btn-header-orange { 
    margin-top: 1rem; 
    width: 100%; 
    justify-content: center; 
    display: inline-flex !important;
  }

  .tech-hero-title, #typed-hero, .gradient-text {
    white-space: pre-wrap !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
}

/* ============================================================
   SECTION TITLE
   ============================================================ */
.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title > span {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  background: var(--logo-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.7rem;
}

.section-title h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 800;
}

.section-title p {
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
  font-size: 1rem;
}

/* Gradient text utility */
.gradient-text {
  background: var(--logo-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientPulse 6s ease infinite alternate;
}

@keyframes gradientPulse {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.tech-hero {
  padding: 180px 0 120px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Hero background glow ring */
.tech-hero::before {
  content: '';
  position: absolute;
  top: 15%; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(ellipse,
    rgba(30,91,159,0.12) 0%,
    rgba(41,171,226,0.06) 35%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-row { align-items: center; }

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

.hero-right {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Badge / Pill */
.exp-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(41,171,226,0.08);
  border: 1px solid rgba(41,171,226,0.25);
  padding: 0.55rem 1.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #29ABE2;
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(241,101,34,0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(241,101,34,0); }
  100% { box-shadow: 0 0 0 0 rgba(241,101,34,0); }
}

/* Hero Title */
.tech-hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.08;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.tech-hero-title .gradient-text {
  display: inline-block;
  font-size: inherit;
  line-height: inherit;
}

/* Typed cursor */
.typed-cursor {
  color: var(--orange);
  font-weight: 300;
}

/* Hero subtitle */
.iotish-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  font-weight: 400;
}

/* Hero CTA Buttons */
.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-btn-primary {
  background: var(--logo-gradient) !important;
  color: #fff !important;
  padding: 0.9rem 2.2rem !important;
  border-radius: 50px;
  font-weight: 700 !important;
  font-size: 1rem !important;
  font-family: var(--font-heading) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  border: none !important;
  transition: all var(--t-normal) ease !important;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.hero-btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity var(--t-fast) ease;
}

.hero-btn-primary:hover::before { opacity: 1; }
.hero-btn-primary:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 35px rgba(241,101,34,0.4) !important;
  color: #fff !important;
}

.btn-hero-outline {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary) !important;
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 50px;
  padding: 0.9rem 2.2rem;
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-heading);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--t-normal) ease;
  backdrop-filter: blur(6px);
}

.btn-hero-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(41,171,226,0.5);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(41,171,226,0.15);
  color: var(--text-primary) !important;
}

/* Trust Badges Row */
.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.trust-badge i {
  color: #4ade80;
  font-size: 0.9rem;
}

/* Orbit Cards */
.floating-orbits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.orbit-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.55rem 1.1rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(8px);
  animation: floatCard 5s ease-in-out infinite;
  transition: all var(--t-normal) ease;
  cursor: default;
}

.orbit-card i { color: var(--cyan); font-size: 1rem; }

.orbit-card:nth-child(1) { animation-delay: 0s; }
.orbit-card:nth-child(2) { animation-delay: 0.5s; }
.orbit-card:nth-child(3) { animation-delay: 1s; }
.orbit-card:nth-child(4) { animation-delay: 1.5s; }
.orbit-card:nth-child(5) { animation-delay: 2s; }

.orbit-card:hover {
  background: rgba(41,171,226,0.1);
  border-color: rgba(41,171,226,0.4);
  transform: translateY(-5px) scale(1.04) !important;
  animation-play-state: paused;
  box-shadow: 0 10px 25px rgba(41,171,226,0.12);
}

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

/* Three.js Canvas */
#hero-threejs-canvas {
  width: 100%;
  max-width: 480px;
  height: 480px;
  border-radius: 50%;
  display: block;
}

/* Floating code blocks */
.floating-code-blocks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.code-block {
  position: absolute;
  background: rgba(7,10,20,0.9);
  border: 1px solid rgba(41,171,226,0.2);
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  font-family: 'Courier New', monospace;
  font-size: 0.76rem;
  line-height: 2;
  box-shadow: 0 10px 35px rgba(0,0,0,0.4), 0 0 15px rgba(41,171,226,0.06);
  white-space: nowrap;
  pointer-events: none;
  backdrop-filter: blur(10px);
}

.code-block .code-line { display: block; }
.code-block .kw { color: #c792ea; }
.code-block .fn { color: #82aaff; }
.code-block .op { color: #29ABE2; }
.code-block .cm { color: #4ade80; }

.cb-1 { top: 8%; right: -6%; animation: floatCode1 7s ease-in-out infinite; }
.cb-2 { bottom: 18%; left: -8%; animation: floatCode2 8s ease-in-out infinite; animation-delay: 2s; }

@keyframes floatCode1 {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%       { transform: translateY(-16px) rotate(0deg); }
}

@keyframes floatCode2 {
  0%, 100% { transform: translateY(0) rotate(1.5deg); }
  50%       { transform: translateY(-12px) rotate(-0.5deg); }
}

/* ============================================================
   DARK LASER CARD
   ============================================================ */
.laser-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  transition: all var(--t-normal) var(--ease);
  position: relative;
  overflow: hidden;
}

.laser-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(41,171,226,0.12), rgba(241,101,34,0.12));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-normal) ease;
}

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

.laser-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(41,171,226,0.2);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 20px rgba(41,171,226,0.06);
}

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

.hologram-wrapper { position: relative; display: inline-block; width: 100%; }

.hologram-wrapper::before {
  content: '';
  position: absolute;
  top: -12px; left: -12px; right: -12px; bottom: -12px;
  border: 2px dashed rgba(41,171,226,0.2);
  border-radius: 28px;
  animation: spinDash 25s linear infinite;
  z-index: 0;
  pointer-events: none;
}

.hologram-image {
  border-radius: 20px;
  position: relative;
  z-index: 1;
  width: 100%;
  animation: floatHolo 6s ease-in-out infinite;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(41,171,226,0.08);
  border: 1px solid rgba(255,255,255,0.07);
}

@keyframes spinDash {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes floatHolo {
  0%, 100% { transform: translateY(0); box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(41,171,226,0.08); }
  50%       { transform: translateY(-14px); box-shadow: 0 30px 70px rgba(0,0,0,0.55), 0 0 50px rgba(41,171,226,0.12); }
}

.experience-badge {
  position: absolute;
  bottom: -18px; right: -18px;
  background: var(--logo-gradient-diag);
  color: white;
  padding: 1.4rem;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 10px 35px rgba(241,101,34,0.35);
  animation: badgePulse 3s ease-in-out infinite;
  z-index: 2;
}

.experience-badge h3 {
  font-size: 2rem; margin: 0; color: white;
}

.experience-badge p {
  margin: 0; font-size: 0.8rem; opacity: 0.9; font-weight: 600;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 10px 35px rgba(241,101,34,0.35); }
  50%       { box-shadow: 0 15px 45px rgba(241,101,34,0.5); }
}

.section-title.text-start span { text-align: left; }

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat-item {
  padding: 1.4rem;
  border-radius: 14px;
  text-align: center;
  background: var(--bg-card) !important;
  border: 1px solid var(--border-subtle) !important;
}

.stat-item h4 {
  font-size: 2rem;
  margin-bottom: 0.25rem;
  background: var(--logo-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ============================================================
   SERVICES SECTION + SWIPER
   ============================================================ */
.services-section { background: var(--bg-base); }

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  height: 100%;
  transition: all var(--t-normal) var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--logo-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-normal) ease;
  border-radius: 20px 20px 0 0;
}

.service-card:hover::after { transform: scaleX(1); }

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(41,171,226,0.2);
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
}

.service-icon {
  width: 64px; height: 64px;
  background: rgba(41,171,226,0.08);
  border: 1px solid rgba(41,171,226,0.15);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  transition: all var(--t-normal) ease;
}

.service-card:hover .service-icon {
  background: var(--logo-gradient-diag);
  border-color: transparent;
  color: white;
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 25px rgba(241,101,34,0.3);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.service-link {
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--t-fast) ease;
}

.service-link i { transition: transform var(--t-normal) ease; }
.service-card:hover .service-link i { transform: translateX(5px); }
.service-link:hover { color: var(--orange); }

/* Service features list */
.service-features-list {
  list-style: none;
  padding: 0; margin: 0;
  margin-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 0.45rem;
  font-weight: 500;
}

.service-features-list li i {
  color: var(--cyan);
  font-size: 0.72rem;
  background: rgba(41,171,226,0.1);
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Swiper */
.services-swiper,
.portfolio-swiper,
.testimonials-swiper {
  padding-top: 20px !important;
  padding-bottom: 60px !important;
  padding-left: 2px !important;
  padding-right: 2px !important;
}

.swiper-pagination-bullet {
  background: rgba(255,255,255,0.2);
  opacity: 1;
  width: 8px; height: 8px;
  transition: all var(--t-normal) ease;
}

.swiper-pagination-bullet-active {
  background: var(--logo-gradient);
  width: 24px;
  border-radius: 4px;
}

.swiper-button-prev,
.swiper-button-next {
  width: 44px !important;
  height: 44px !important;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--cyan) !important;
  transition: all var(--t-normal) ease;
  top: 40% !important;
}

.swiper-button-prev::after,
.swiper-button-next::after { font-size: 14px !important; font-weight: 700; }

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: var(--logo-gradient-diag);
  border-color: transparent;
  color: white !important;
  box-shadow: 0 8px 20px rgba(241,101,34,0.25);
}

/* ============================================================
   AI SHOWCASE SECTION
   ============================================================ */
.ai-showcase-section { background: var(--bg-surface); }

#ai-threejs-canvas {
  width: 100%; max-width: 480px; height: 480px;
  border-radius: 50%;
  display: block;
}

.ai-canvas-wrapper { position: relative; display: flex; align-items: center; justify-content: center; }

.ai-stat-pill {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 0.75rem 1.2rem;
  display: flex; align-items: center; gap: 0.75rem;
  box-shadow: var(--shadow-card);
  font-size: 0.82rem; font-weight: 600; white-space: nowrap;
  animation: floatPill 4s ease-in-out infinite;
  color: var(--text-primary);
}

.ai-stat-pill i { font-size: 1.3rem; color: var(--cyan); }
.ai-stat-pill strong { color: var(--cyan); font-size: 1rem; }
.pill-1 { top: 8%; right: -4%; animation-delay: 0s; }
.pill-2 { bottom: 12%; left: -6%; animation-delay: 1.8s; }

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

.ai-features-list { display: flex; flex-direction: column; gap: 1rem; }

.ai-feature-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.1rem 1.3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  transition: all var(--t-normal) ease;
}

.ai-feature-item:hover {
  transform: translateX(6px);
  border-color: rgba(41,171,226,0.3);
  background: var(--bg-card-hover);
}

.ai-feature-icon {
  width: 46px; height: 46px; min-width: 46px;
  background: rgba(41,171,226,0.08);
  border: 1px solid rgba(41,171,226,0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--cyan);
  transition: all var(--t-normal) ease;
}

.ai-feature-item:hover .ai-feature-icon {
  background: var(--logo-gradient-diag);
  border-color: transparent;
  color: white;
}

.ai-feature-item h5 { font-size: 0.95rem; margin-bottom: 0.2rem; color: var(--text-primary); }
.ai-feature-item p  { margin: 0; font-size: 0.82rem; color: var(--text-secondary); }

/* ============================================================
   TECHNOLOGIES SECTION
   ============================================================ */
.tech-section { background: var(--bg-base); }

.tech-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.45rem 1.3rem;
  border-radius: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all var(--t-normal) ease;
  cursor: pointer;
  font-family: var(--font-heading);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--logo-gradient-diag);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 15px rgba(241,101,34,0.25);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
  gap: 1rem;
}

.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.5rem 0.75rem;
  text-align: center;
  transition: all var(--t-normal) var(--ease);
  cursor: default;
}

.tech-card:hover {
  transform: translateY(-6px) scale(1.04);
  border-color: rgba(41,171,226,0.3);
  background: var(--bg-card-hover);
  box-shadow: 0 15px 35px rgba(0,0,0,0.35), 0 0 20px rgba(41,171,226,0.08);
}

.tech-icon {
  font-size: 2.4rem; margin-bottom: 0.6rem;
  color: var(--cyan); display: block;
  transition: transform var(--t-normal) ease;
}

.tech-card:hover .tech-icon { transform: scale(1.2) rotate(-5deg); }

.tech-name {
  font-weight: 700; font-size: 0.78rem;
  color: var(--text-secondary);
  display: block;
}

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

.portfolio-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 4/3;
}

.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(0.85);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,10,20,0.95) 0%, rgba(7,10,20,0.5) 55%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

.portfolio-item:hover img { transform: scale(1.07); filter: brightness(0.7); }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-tag {
  display: inline-block;
  background: var(--logo-gradient);
  color: white;
  font-size: 0.7rem; font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transform: translateY(20px); opacity: 0;
  transition: all 0.35s ease 0.05s;
}

.portfolio-info h3 {
  color: white; margin-bottom: 0.35rem; font-size: 1.15rem;
  transform: translateY(20px); opacity: 0;
  transition: all 0.35s ease 0.1s;
}

.portfolio-info p {
  color: rgba(255,255,255,0.65); font-size: 0.83rem; margin: 0;
  transform: translateY(20px); opacity: 0;
  transition: all 0.35s ease 0.15s;
}

.portfolio-item:hover .portfolio-tag,
.portfolio-item:hover .portfolio-info h3,
.portfolio-item:hover .portfolio-info p {
  transform: translateY(0); opacity: 1;
}

.portfolio-cta-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.8rem; font-weight: 600;
  margin-top: 0.75rem;
  transition: all var(--t-normal) ease;
  backdrop-filter: blur(4px);
  transform: translateY(20px); opacity: 0;
  transition: all 0.35s ease 0.2s;
}

.portfolio-item:hover .portfolio-cta-btn {
  transform: translateY(0); opacity: 1;
}

.portfolio-cta-btn:hover {
  background: var(--logo-gradient);
  border-color: transparent;
  color: white;
}

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.process-section { background: var(--bg-base); }

.process-step { text-align: center; padding: 1.5rem; }

.process-icon-wrapper {
  width: 76px; height: 76px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; color: var(--cyan);
  margin: 0 auto 1.25rem;
  transition: all var(--t-normal) ease;
  position: relative; z-index: 2;
}

.process-step:hover .process-icon-wrapper {
  background: var(--logo-gradient-diag);
  border-color: transparent;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(241,101,34,0.3);
}

.process-step h4 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--text-primary); }
.process-step p  { font-size: 0.85rem; color: var(--text-secondary); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--bg-surface); }

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 2.5rem;
  border-radius: 20px;
  position: relative;
  height: 100%;
  transition: all var(--t-normal) ease;
}

.testimonial-card::before {
  content: '\201C';
  font-size: 6rem; line-height: 1;
  color: rgba(41,171,226,0.1);
  font-family: Georgia, serif;
  position: absolute;
  top: 0.5rem; left: 1.5rem;
  pointer-events: none;
}

.testimonial-card:hover {
  border-color: rgba(41,171,226,0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.testimonial-stars { color: var(--yellow); font-size: 0.9rem; margin-bottom: 1rem; display: flex; gap: 0.25rem; }

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-avatar { width: 52px; height: 52px; min-width: 52px; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--bg-surface);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Gradient line accent on top */
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 80%; height: 1px;
  background: var(--logo-gradient);
  opacity: 0.4;
}

/* Big radial glow behind CTA */
.cta-section::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(30,91,159,0.18) 0%, rgba(241,101,34,0.08) 50%, transparent 70%);
  pointer-events: none;
}

.cta-content { position: relative; z-index: 2; text-align: center; }

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
}

.cta-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.cta-section .btn-custom {
  background: var(--logo-gradient);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.9rem 2.2rem;
  font-weight: 700;
  font-family: var(--font-heading);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--t-normal) ease;
  font-size: 1rem;
}

.cta-section .btn-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(241,101,34,0.4);
  filter: brightness(1.1);
  color: white;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section { background: var(--bg-base); }

.contact-info-card,
.contact-info-panel { background: var(--bg-card) !important; }

.contact-strip-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 1.1rem 1.4rem;
  border-radius: 14px;
  transition: all var(--t-normal) ease;
}

.contact-strip-card:hover {
  border-color: rgba(41,171,226,0.3);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.contact-strip-icon {
  width: 50px; height: 50px; min-width: 50px;
  background: rgba(41,171,226,0.08);
  border: 1px solid rgba(41,171,226,0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--cyan);
  transition: all var(--t-normal) ease;
}

.contact-strip-card:hover .contact-strip-icon {
  background: var(--logo-gradient-diag);
  border-color: transparent;
  color: white;
}

.contact-strip-label { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.contact-strip-value { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); }

.contact-info-panel, .contact-form-card {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 2.5rem;
}

.contact-info-icon {
  width: 46px; height: 46px; min-width: 46px;
  background: rgba(241,101,34,0.08);
  border: 1px solid rgba(241,101,34,0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--orange);
  transition: all var(--t-normal) ease;
  margin-bottom: 0.75rem;
}

.contact-info-item {
  margin-bottom: 1.75rem;
}

.contact-info-item:hover .contact-info-icon {
  background: var(--logo-gradient-diag);
  border-color: transparent;
  color: white;
}

.contact-info-item h6 { color: var(--text-primary); }
.contact-info-item p  { color: var(--text-secondary); }

.contact-input {
  width: 100%;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.85rem 1.2rem;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  outline: none;
  transition: all var(--t-normal) ease;
  display: block;
}

.contact-input:focus {
  border-color: rgba(41,171,226,0.5);
  background: var(--bg-card);
  box-shadow: 0 0 0 4px rgba(41,171,226,0.08);
}

.contact-input::placeholder { color: var(--text-muted); }
.contact-input option { background: var(--bg-card); color: var(--text-primary); }

.social-icon-light {
  width: 42px; height: 42px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  font-size: 1rem;
  position: relative;
  z-index: 10;
  transition: all var(--t-normal) ease;
  text-decoration: none;
}

.social-icon-light:hover {
  background: var(--logo-gradient-diag);
  border-color: transparent;
  color: white;
  transform: translateY(-3px);
}

/* ============================================================
   BUTTONS (global)
   ============================================================ */
.btn-contact-dark,
.btn-apply {
  display: inline-flex; align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  background: var(--logo-gradient);
  color: white !important;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--t-normal) ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-contact-dark:hover,
.btn-apply:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(241,101,34,0.4);
  filter: brightness(1.08);
  color: white !important;
}

.btn-primary-custom {
  background: var(--logo-gradient);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.8rem 2rem;
  font-weight: 700;
  font-family: var(--font-heading);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--t-normal) ease;
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(241,101,34,0.35);
  filter: brightness(1.1);
  color: white;
}

/* ============================================================
   FOOTER
   ============================================================ */
.premium-footer {
  background: #030509;
  color: white;
  padding-top: 6rem;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
}

.footer-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

.premium-footer .shape-1 { background: var(--blue-deep); width: 600px; height: 600px; bottom: -300px; left: -200px; }
.premium-footer .shape-2 { background: var(--orange); width: 450px; height: 450px; top: -50px; right: -150px; }

.footer-logo img { height: 48px; border-radius: 6px; }

.footer-text { color: var(--text-muted); font-size: 0.88rem; line-height: 1.75; }

.footer-widget h4 {
  color: white; font-size: 1rem;
  margin-bottom: 1.4rem;
  padding-bottom: 0.6rem;
  position: relative;
  font-family: var(--font-heading);
  font-weight: 700;
}

.footer-widget h4::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 36px; height: 2px;
  background: var(--logo-gradient);
  border-radius: 2px;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.7rem; }

.footer-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: all var(--t-fast) ease;
}

.footer-links a:hover {
  color: var(--cyan);
  padding-left: 5px;
}

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

.social-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  font-size: 1rem;
  position: relative;
  z-index: 10;
  transition: all var(--t-normal) ease;
  text-decoration: none;
}

.social-icon:hover {
  background: var(--logo-gradient-diag);
  border-color: transparent;
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(241,101,34,0.3);
}

.premium-input {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  color: white !important;
  padding: 0.9rem 1.4rem !important;
  border-radius: 30px !important;
  font-family: var(--font-body);
}

.premium-input:focus {
  background: rgba(255,255,255,0.07) !important;
  border-color: rgba(41,171,226,0.4) !important;
  box-shadow: 0 0 0 4px rgba(41,171,226,0.08) !important;
}

.btn-subscribe {
  background: var(--logo-gradient);
  color: white; border: none;
  border-radius: 0 30px 30px 0 !important;
  font-size: 1.1rem;
  transition: filter var(--t-fast) ease;
}

.btn-subscribe:hover { filter: brightness(1.12); color: white; }

.icon-box {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: all var(--t-normal) ease;
}

.footer-contact-link { transition: all var(--t-normal) ease; }

.footer-contact-link:hover .icon-box {
  background: var(--logo-gradient-diag);
}

.footer-contact-link:hover .icon-box i {
  color: white !important;
}

.footer-bottom {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.05) !important;
}

.footer-bottom p { margin: 0; color: var(--text-muted); font-size: 0.85rem; }

.hover-white { transition: color var(--t-fast) ease; }
.hover-white:hover { color: white !important; }

/* ============================================================
   INNER PAGE HERO (dark themed)
   ============================================================ */
.inner-page-hero {
  padding: 160px 0 90px;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.inner-page-hero::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(30,91,159,0.18) 0%, rgba(41,171,226,0.06) 40%, transparent 70%);
  pointer-events: none;
}

.inner-page-hero::after {
  content: '';
  position: absolute;
  bottom: -30%; right: 5%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(241,101,34,0.1) 0%, transparent 70%);
  pointer-events: none;
}

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

.inner-hero-badge {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: rgba(41,171,226,0.08);
  border: 1px solid rgba(41,171,226,0.2);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.82rem; font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.inner-hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  font-family: var(--font-heading);
}

.inner-hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================================
   ABOUT PAGE COMPONENTS
   ============================================================ */
.py-section { padding: 90px 0; }
.bg-light-section { background: var(--bg-surface) !important; }
.bg-white { background: var(--bg-base) !important; }

.inner-stat-item {
  padding: 1.4rem;
  border-radius: 14px;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all var(--t-normal) ease;
}

.inner-stat-item:hover { transform: translateY(-5px); border-color: rgba(41,171,226,0.3); }

.inner-stat-item h3 {
  background: var(--logo-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.value-card {
  padding: 2.5rem 2rem;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all var(--t-normal) ease;
  height: 100%;
}

.value-card:hover { transform: translateY(-8px); border-color: rgba(41,171,226,0.25); }

.value-icon {
  width: 64px; height: 64px;
  background: rgba(41,171,226,0.08);
  border: 1px solid rgba(41,171,226,0.15);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; color: var(--cyan);
  margin: 0 auto;
  transition: all var(--t-normal) ease;
}

.value-card:hover .value-icon {
  background: var(--logo-gradient-diag);
  border-color: transparent;
  color: white;
  transform: scale(1.1) rotate(-5deg);
}

.value-card h5 { color: var(--text-primary); }
.value-card p  { color: var(--text-secondary); }

/* Stats Banner */
.stats-banner-section {
  background: var(--bg-surface);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.stats-banner-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(30,91,159,0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* ============================================================
   CAREERS PAGE
   ============================================================ */
.perk-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 2rem 1.5rem;
  border-radius: 20px;
  transition: all var(--t-normal) ease;
  height: 100%;
  text-align: center;
}

.perk-card:hover { transform: translateY(-6px); border-color: rgba(41,171,226,0.25); }

.perk-icon {
  width: 60px; height: 60px;
  background: rgba(41,171,226,0.08);
  border: 1px solid rgba(41,171,226,0.15);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--cyan);
  margin: 0 auto;
  transition: all var(--t-normal) ease;
}

.perk-card:hover .perk-icon {
  background: var(--logo-gradient-diag);
  border-color: transparent;
  color: white;
  transform: rotate(-5deg) scale(1.1);
}

.perk-card h5 { color: var(--text-primary); }
.perk-card p  { color: var(--text-secondary); }

.job-card {
  padding: 1.75rem 2rem;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all var(--t-normal) ease;
}

.job-card:hover {
  transform: translateY(-4px);
  border-color: rgba(41,171,226,0.25);
  background: var(--bg-card-hover);
}

.job-card h4 { color: var(--text-primary); }
.job-card p  { color: var(--text-secondary); }

.job-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: rgba(41,171,226,0.08);
  border: 1px solid rgba(41,171,226,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--cyan);
}

.job-badge {
  display: inline-flex; align-items: center;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  font-size: 0.76rem; font-weight: 600;
}

.job-badge-blue   { background: rgba(41,171,226,0.1);  color: var(--cyan); }
.job-badge-green  { background: rgba(74,222,128,0.1);  color: #4ade80; }
.job-badge-orange { background: rgba(241,101,34,0.1);  color: var(--orange); }
.job-badge-purple { background: rgba(167,139,250,0.1); color: #a78bfa; }

.general-apply-card {
  background: rgba(41,171,226,0.04) !important;
  border: 2px dashed rgba(41,171,226,0.2) !important;
  border-radius: 24px;
  padding: 3rem 2.5rem;
  text-align: center;
}

.general-apply-icon {
  width: 70px; height: 70px;
  background: rgba(41,171,226,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--cyan);
  margin: 0 auto;
}

.general-apply-card h4 { color: var(--text-primary); }
.general-apply-card p  { color: var(--text-secondary); }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-field-wrapper { position: relative; }
.form-label { color: var(--text-secondary); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; }

/* ============================================================
   PROCESS + REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(25px); transition: all 0.7s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ============================================================
   NAVBAR DROPDOWN
   ============================================================ */
.navbar-nav .dropdown:hover .dropdown-menu { display: block; animation: fadeUpMenu 0.25s ease forwards; }

.dropdown-menu {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.5rem 0;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.dropdown-item { color: var(--text-secondary); padding: 0.5rem 1.5rem; transition: all var(--t-fast) ease; }
.dropdown-item:hover { background: rgba(41,171,226,0.08); color: var(--cyan); }

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

/* ============================================================
   UTILITY
   ============================================================ */
.text-muted { color: var(--text-secondary) !important; }
.text-primary { color: var(--cyan) !important; }
.text-warning { color: var(--yellow) !important; }

/* Bootstrap form-control dark override */
.form-control, .form-select {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  color: var(--text-primary);
}

.form-control:focus, .form-select:focus {
  background: var(--bg-card);
  border-color: rgba(41,171,226,0.5);
  box-shadow: 0 0 0 4px rgba(41,171,226,0.08);
  color: var(--text-primary);
}

/* Badge override */
.badge.bg-primary { background: var(--logo-gradient-diag) !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
  :root { --section-py: 70px; }
  .tech-hero { padding: 140px 0 80px; min-height: auto; }
  .hero-right { display: none !important; }
  .hero-left { text-align: center; }
  .iotish-subtitle { margin: 0 auto 2.5rem; }
  .floating-orbits { justify-content: center; }
  .hero-cta-group { justify-content: center; }
  .hero-trust-badges { justify-content: center; }
  .ai-stat-pill { display: none; }
  .inner-page-hero { padding: 130px 0 70px; }
  .py-section { padding: 70px 0; }
}

@media (max-width: 767.98px) {
  :root { --section-py: 60px; }
  .tech-hero-title { font-size: clamp(2rem, 8vw, 2.8rem); letter-spacing: -0.5px; }
  .inner-hero-title { font-size: 2.2rem; }
  .section-title h2 { font-size: 1.9rem; }
  .testimonial-card { padding: 1.75rem; }
  .cta-content h2 { font-size: 2rem; }
  .experience-badge { bottom: -10px; right: 8px; padding: 1rem; }
  .experience-badge h3 { font-size: 1.6rem; }
  .stats-banner-section .display-4 { font-size: 2.2rem; }
  .job-card { padding: 1.25rem; }
  .general-apply-card { padding: 2rem 1.25rem; }
  .contact-form-card, .contact-info-panel { padding: 1.5rem; }
}

/* ============================================================
   REDUCE MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   RESPONSIVE FIXES FOR ANDROID & IOS
   ============================================================ */

@supports (-webkit-touch-callout: none) {
  /* iOS Specific Viewport Heights */
  .tech-hero, .inner-page-hero {
    min-height: 100dvh;
  }
}
