/* ============================================================
   COGNISHIFTIT — Main Stylesheet
   Theme: Modern Light + Deep Violet | Orange | Sky Blue
   ============================================================ */

/* ── CSS VARIABLES ─────────────────────────────────────────── */
:root {
  /* Brand Colors */
  --violet:        #7C3AED;
  --violet-light:  #A78BFA;
  --violet-dark:   #5B21B6;
  --violet-xlight: #EDE9FE;
  --orange:        #F97316;
  --orange-light:  #FB923C;
  --orange-dark:   #EA580C;
  --orange-xlight: #FFF7ED;
  --sky:           #0EA5E9;
  --sky-light:     #38BDF8;
  --sky-xlight:    #E0F2FE;
  --teal:          #14B8A6;
  --teal-xlight:   #CCFBF1;
  --rose:          #F43F5E;
  --rose-xlight:   #FFE4E6;
  --amber:         #F59E0B;
  --emerald:       #10B981;
  --emerald-xlight:#D1FAE5;

  /* Backgrounds — Light Theme */
  --bg-base:       #FAFBFF;
  --bg-surface:    #F3F0FE;
  --bg-white:      #FFFFFF;
  --bg-card:       #FFFFFF;
  --bg-dark:       #0C0520;
  --bg-dark2:      #160935;

  /* Gradients */
  --grad-main:     linear-gradient(135deg, #7C3AED 0%, #F97316 100%);
  --grad-violet:   linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
  --grad-warm:     linear-gradient(135deg, #F97316 0%, #F43F5E 100%);
  --grad-sky:      linear-gradient(135deg, #0EA5E9 0%, #7C3AED 100%);
  --grad-teal:     linear-gradient(135deg, #14B8A6 0%, #0EA5E9 100%);
  --grad-hero:     linear-gradient(135deg, #0C0520 0%, #160935 60%, #2D1066 100%);

  /* Text */
  --text-dark:     #0D0B1A;
  --text-body:     #374151;
  --text-muted:    #6B7280;
  --text-faint:    #9CA3AF;
  --text-light:    #F9FAFB;
  --text-xlight:   #E5E7EB;

  /* Borders */
  --border:        #E5E7EB;
  --border-violet: rgba(124, 58, 237, 0.25);
  --border-orange: rgba(249, 115, 22, 0.25);

  /* Shadows */
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:     0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-card:   0 8px 32px rgba(124,58,237,0.10), 0 2px 8px rgba(0,0,0,0.06);
  --shadow-violet: 0 8px 32px rgba(124,58,237,0.30);
  --shadow-orange: 0 8px 32px rgba(249,115,22,0.25);

  /* Transitions */
  --ease:          0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-fast:     0.15s ease;
  --ease-slow:     0.55s cubic-bezier(0.4, 0, 0.2, 1);

  /* Radius */
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full:9999px;
}

/* ── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-base);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
  color: var(--text-dark);
  line-height: 1.22;
  font-weight: 700;
}
a { text-decoration: none; color: inherit; transition: var(--ease); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ── UTILITY ────────────────────────────────────────────────── */
.grad-text {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-text-sky {
  background: var(--grad-sky);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-text-warm {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 64px 0; }

/* Badge Pill */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-violet);
  background: var(--violet-xlight);
  color: var(--violet-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.badge-pill::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--violet);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.4; transform:scale(0.7); }
}

/* Section Header */
.section-header { margin-bottom: 60px; }
.section-title { font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin-bottom: 14px; }
.section-subtitle { font-size: 1.05rem; color: var(--text-muted); max-width: 520px; line-height: 1.75; }

/* ── PRELOADER ──────────────────────────────────────────────── */
.preloader {
  position: fixed; inset: 0;
  z-index: 9999;
  background: var(--bg-dark);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 24px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.hidden { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
.preloader-logo {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(var(--bg-dark), var(--bg-dark)) padding-box,
              var(--grad-main) border-box;
  display: flex; align-items: center; justify-content: center;
  animation: spin 2s linear infinite;
}
.preloader-logo svg { width: 30px; height: 30px; }
@keyframes spin { to { transform: rotate(360deg); } }
.preloader-bar {
  width: 180px; height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.preloader-bar-fill {
  height: 100%;
  background: var(--grad-main);
  border-radius: var(--radius-full);
  animation: bar-load 1.6s ease-in-out infinite;
}
@keyframes bar-load {
  0% { width:0%;margin-left:0; }
  50% { width:60%;margin-left:20%; }
  100% { width:0%;margin-left:100%; }
}
.preloader-text { font-size: 0.72rem; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.35); }

/* ── NAVBAR ─────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.35s ease;
  background: transparent;
}
.navbar.scrolled {
  padding: 12px 0;
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
  border-bottom: 1px solid var(--border);
}

/* Navbar on non-hero pages always gets white bg */
.navbar.page-nav {
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.07);
  border-bottom: 1px solid var(--border);
}

.navbar-brand img { height: 40px; width: auto; }

.navbar-nav .nav-link {
  color: var(--text-body) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 14px !important;
  border-radius: var(--radius-sm);
  transition: var(--ease);
  position: relative;
}
/* On hero page, nav links are white before scroll */
.hero-nav .navbar-nav .nav-link { color: rgba(255,255,255,0.85) !important; }
.hero-nav.scrolled .navbar-nav .nav-link { color: var(--text-body) !important; }

.navbar-nav .nav-link:hover { color: var(--violet) !important; background: var(--violet-xlight); }
.navbar-nav .nav-link.active { color: var(--violet) !important; font-weight: 600; }

.nav-cta {
  margin-left: 8px;
  padding: 9px 22px !important;
  background: var(--grad-main) !important;
  color: white !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
}
.nav-cta:hover { opacity: 0.88 !important; transform: translateY(-1px); box-shadow: var(--shadow-violet); background: var(--grad-main) !important; }
.navbar-toggler {
  border: 1.5px solid var(--border) !important;
  padding: 6px 10px !important;
  border-radius: var(--radius-sm) !important;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(55,65,81,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
.hero-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
.hero-nav.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(55,65,81,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
.navbar-collapse {
  background: transparent;
}
@media (max-width:991px) {
  .navbar-collapse {
    background: rgba(255,255,255,0.98) !important;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-top: 8px;
    box-shadow: var(--shadow-lg);
  }
  .hero-nav .navbar-nav .nav-link { color: var(--text-body) !important; }
  .nav-cta { margin-left: 0; margin-top: 8px; }
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn-primary-glow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 30px;
  background: var(--grad-main);
  color: white;
  font-weight: 600; font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: none; cursor: pointer;
  transition: var(--ease);
  text-decoration: none;
  position: relative; overflow: hidden;
}
.btn-primary-glow:hover { transform: translateY(-2px); box-shadow: var(--shadow-violet); color: white; opacity: 0.92; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 28px;
  background: transparent;
  color: var(--text-body);
  font-weight: 600; font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  cursor: pointer; transition: var(--ease); text-decoration: none;
}
.btn-ghost:hover { border-color: var(--violet); color: var(--violet); background: var(--violet-xlight); transform: translateY(-2px); }

.btn-ghost-white {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 28px;
  background: transparent;
  color: white;
  font-weight: 600; font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.3);
  cursor: pointer; transition: var(--ease); text-decoration: none;
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.6); color: white; transform: translateY(-2px); }

.btn-orange {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 30px;
  background: var(--grad-warm);
  color: white; font-weight: 600; font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: none; cursor: pointer; transition: var(--ease); text-decoration: none;
}
.btn-orange:hover { transform: translateY(-2px); box-shadow: var(--shadow-orange); color: white; opacity: 0.9; }

/* ── CARDS ──────────────────────────────────────────────────── */
.glass-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--ease);
  box-shadow: var(--shadow-sm);
}
.glass-card:hover {
  border-color: var(--border-violet);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

/* ── HERO SECTION ───────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
}
#particles-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}
.hero-glow-1 {
  position: absolute;
  width: 650px; height: 650px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.18) 0%, transparent 70%);
  top: -200px; left: -150px; z-index: 0;
  animation: float-glow 8s ease-in-out infinite;
}
.hero-glow-2 {
  position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,0.12) 0%, transparent 70%);
  bottom: -100px; right: -100px; z-index: 0;
  animation: float-glow 10s ease-in-out infinite reverse;
}
@keyframes float-glow {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px,-30px) scale(1.06); }
}

.hero-content { position: relative; z-index: 2; padding: 130px 0 70px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 20px;
  border: 1.5px solid rgba(249,115,22,0.4);
  border-radius: var(--radius-full);
  background: rgba(249,115,22,0.1);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--orange-light); margin-bottom: 24px;
}
.hero-badge i { color: var(--orange); }

.hero-headline {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 800; line-height: 1.08;
  margin-bottom: 24px; letter-spacing: -1.5px;
  color: white;
}
.hero-headline .grad-text {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.12rem; color: rgba(255,255,255,0.7);
  max-width: 520px; margin-bottom: 40px; line-height: 1.78;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 60px; }

.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem; font-weight: 800; line-height: 1;
  background: var(--grad-main);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.45); margin-top: 4px; }

.hero-visual { position: relative; z-index: 2; padding: 130px 0 70px; }
.hero-visual-card {
  position: relative;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 28px; overflow: hidden;
  backdrop-filter: blur(10px);
}
.hero-visual-card::before {
  content: ''; position: absolute;
  inset: -1px; border-radius: inherit;
  background: var(--grad-main); opacity: 0.15; z-index: -1;
}

.float-badge {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 11px 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  font-size: 0.84rem; font-weight: 600; color: white;
  animation: float-badge 4s ease-in-out infinite;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.float-badge:nth-child(2) { animation-delay: 1.5s; }
.float-badge:nth-child(3) { animation-delay: 3s; }
@keyframes float-badge {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── TRUSTED BAND ───────────────────────────────────────────── */
.trusted-band {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.trusted-label { font-size: 0.75rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-faint); text-align: center; margin-bottom: 24px; }
.trusted-logos { display: flex; gap: 40px; flex-wrap: wrap; justify-content: center; align-items: center; }
.trusted-logos span {
  font-size: 1.05rem; font-weight: 800;
  color: var(--text-faint);
  letter-spacing: -0.5px;
  transition: var(--ease);
}
.trusted-logos span:hover { color: var(--violet); }

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

.service-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  height: 100%;
  transition: var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-main);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--ease);
}
.service-card:hover {
  border-color: var(--border-violet);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 58px; height: 58px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
}
.service-icon.violet { background: var(--violet-xlight); color: var(--violet); }
.service-icon.orange { background: var(--orange-xlight); color: var(--orange-dark); }
.service-icon.sky    { background: var(--sky-xlight); color: var(--sky); }
.service-icon.teal   { background: var(--teal-xlight); color: var(--teal); }
.service-icon.rose   { background: var(--rose-xlight); color: var(--rose); }
.service-icon.amber  { background: #FFFBEB; color: var(--amber); }

.service-card h4 { font-size: 1.1rem; margin-bottom: 10px; color: var(--text-dark); }
.service-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.72; margin-bottom: 18px; }
.service-link {
  font-size: 0.85rem; font-weight: 700; color: var(--violet);
  display: inline-flex; align-items: center; gap: 6px; transition: var(--ease);
}
.service-link:hover { color: var(--orange); gap: 10px; }

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

.about-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.about-circle-wrap {
  position: relative; width: 420px; max-width: 100%;
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
}
.about-circle-ring {
  position: absolute; border-radius: 50%; border: 1px solid var(--border);
}
.about-circle-ring:nth-child(1) { width: 100%; height: 100%; }
.about-circle-ring:nth-child(2) { width: 75%; height: 75%; border-color: var(--border-violet); }
.about-circle-ring:nth-child(3) { width: 50%; height: 50%; border-color: var(--border-orange); }
.about-center-orb {
  width: 140px; height: 140px; border-radius: 50%;
  background: var(--grad-main); opacity: 0.15;
  box-shadow: 0 0 60px rgba(124,58,237,0.3);
}
.about-metric-bubble {
  position: absolute;
  padding: 14px 18px;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center; min-width: 110px;
  box-shadow: var(--shadow-card);
  animation: float-badge 5s ease-in-out infinite;
}
.about-metric-bubble:nth-child(5) { top: 8%; right: -5%; animation-delay: 0s; }
.about-metric-bubble:nth-child(6) { bottom: 15%; left: -5%; animation-delay: 2s; }
.about-metric-bubble:nth-child(7) { top: 50%; right: -8%; animation-delay: 1s; transform: translateY(-50%); }
.about-metric-bubble .num {
  font-size: 1.6rem; font-weight: 800;
  background: var(--grad-main);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-metric-bubble .label { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }

.about-text h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin-bottom: 18px; }
.about-text > p { color: var(--text-muted); margin-bottom: 14px; line-height: 1.82; }
.about-features { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; color: var(--text-body);
}
.about-feature i { color: var(--violet); margin-top: 2px; flex-shrink: 0; }

/* ── STATS BAND ─────────────────────────────────────────────── */
.stats-band {
  background: var(--bg-dark);
  padding: 70px 0;
}
.stat-item { text-align: center; padding: 16px; }
.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem; font-weight: 800; line-height: 1;
  background: var(--grad-main);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 8px;
}
.stat-label { font-size: 0.9rem; color: rgba(255,255,255,0.5); font-weight: 500; }

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

.portfolio-filter { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 48px; }
.filter-btn {
  padding: 9px 22px; border-radius: var(--radius-full);
  font-size: 0.88rem; font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--text-muted); background: var(--bg-white);
  cursor: pointer; transition: var(--ease);
}
.filter-btn:hover { border-color: var(--violet); color: var(--violet); }
.filter-btn.active {
  background: var(--grad-main); color: white;
  border-color: transparent; box-shadow: var(--shadow-violet);
}

.portfolio-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden; transition: var(--ease); height: 100%;
}
.portfolio-card:hover {
  border-color: var(--border-violet);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.portfolio-thumb {
  height: 200px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
}
.portfolio-thumb.blue-grad   { background: linear-gradient(135deg, #EDE9FE 0%, #DBEAFE 100%); }
.portfolio-thumb.purple-grad { background: linear-gradient(135deg, #F3E8FF 0%, #EDE9FE 100%); }
.portfolio-thumb.gold-grad   { background: linear-gradient(135deg, #FFF7ED 0%, #FFE4E6 100%); }
.portfolio-thumb.cyan-grad   { background: linear-gradient(135deg, #E0F2FE 0%, #CCFBF1 100%); }
.portfolio-thumb.emerald-grad{ background: linear-gradient(135deg, #D1FAE5 0%, #E0F2FE 100%); }
.portfolio-thumb.rose-grad   { background: linear-gradient(135deg, #FFE4E6 0%, #F3E8FF 100%); }

.portfolio-thumb-overlay {
  position: absolute; inset: 0;
  background: rgba(124,58,237,0);
  display: flex; align-items: center; justify-content: center;
  transition: var(--ease);
}
.portfolio-card:hover .portfolio-thumb-overlay { background: rgba(124,58,237,0.6); }
.portfolio-thumb-action { display: flex; gap: 12px; opacity: 0; transform: translateY(10px); transition: var(--ease); }
.portfolio-card:hover .portfolio-thumb-action { opacity: 1; transform: translateY(0); }

.portfolio-body { padding: 24px; }
.portfolio-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.portfolio-tag {
  padding: 3px 10px; border-radius: var(--radius-full);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px;
}
.portfolio-tag.blue    { background: var(--violet-xlight); color: var(--violet-dark); }
.portfolio-tag.purple  { background: var(--violet-xlight); color: var(--violet); }
.portfolio-tag.gold    { background: var(--orange-xlight); color: var(--orange-dark); }
.portfolio-tag.cyan    { background: var(--sky-xlight); color: var(--sky); }
.portfolio-tag.emerald { background: var(--emerald-xlight); color: var(--emerald); }

.portfolio-body h4 { font-size: 1.05rem; margin-bottom: 8px; color: var(--text-dark); }
.portfolio-body p  { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

/* ── PROCESS SECTION ────────────────────────────────────────── */
.process-section { background: var(--bg-white); }
.process-step {
  padding: 32px 28px;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--ease);
}
.process-step:hover { border-color: var(--border-violet); box-shadow: var(--shadow-card); transform: translateY(-3px); }
.process-step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.2rem; font-weight: 800; line-height: 1;
  background: var(--grad-main);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 14px; opacity: 0.35;
}
.process-step h4 { font-size: 1.08rem; margin-bottom: 10px; color: var(--text-dark); }
.process-step p  { font-size: 0.9rem; color: var(--text-muted); }

/* ── TESTIMONIALS ───────────────────────────────────────────── */
.testimonials-section { background: var(--bg-surface); }
.testimonial-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px; height: 100%;
  transition: var(--ease);
  position: relative;
}
.testimonial-card::before {
  content: '"'; position: absolute;
  top: -8px; left: 28px;
  font-size: 5rem; font-family: Georgia, serif;
  background: var(--grad-main);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1; opacity: 0.4;
}
.testimonial-card:hover { border-color: var(--border-violet); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.testimonial-stars { color: var(--amber); font-size: 0.85rem; margin-bottom: 14px; }
.testimonial-text { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; flex-shrink: 0;
  color: white;
}
.testimonial-avatar.av1 { background: var(--grad-main); }
.testimonial-avatar.av2 { background: var(--grad-warm); }
.testimonial-avatar.av3 { background: var(--grad-sky); }
.testimonial-author-name { font-weight: 700; font-size: 0.95rem; color: var(--text-dark); }
.testimonial-author-role { font-size: 0.8rem; color: var(--text-faint); }

/* ── CTA SECTION ────────────────────────────────────────────── */
.cta-section { background: var(--bg-dark); position: relative; overflow: hidden; }
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.2) 0%, transparent 70%);
}
.cta-inner {
  position: relative; z-index: 1;
  text-align: center; padding: 80px 20px;
}
.cta-inner h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; color: white; }
.cta-inner p  { font-size: 1.08rem; color: rgba(255,255,255,0.6); margin-bottom: 40px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-actions  { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── PAGE HERO (inner pages) ────────────────────────────────── */
.page-hero {
  padding: 140px 0 80px;
  background: var(--bg-dark);
  position: relative; overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.page-hero::before {
  content: ''; position: absolute;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 70%);
  top: -200px; right: -150px;
}
.page-hero::after {
  content: ''; position: absolute;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,0.1) 0%, transparent 70%);
  bottom: -100px; left: -100px;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 14px; color: white; }
.page-hero p  { font-size: 1.08rem; color: rgba(255,255,255,0.65); max-width: 560px; }

.breadcrumb { margin-bottom: 18px; }
.breadcrumb-item { font-size: 0.84rem; }
.breadcrumb-item a { color: rgba(255,255,255,0.45); }
.breadcrumb-item a:hover { color: var(--orange-light); }
.breadcrumb-item.active { color: var(--orange-light); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.2); }

/* ── TECH PILLS ─────────────────────────────────────────────── */
.tech-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.84rem; font-weight: 500;
  color: var(--text-body); background: var(--bg-white);
  transition: var(--ease);
}
.tech-pill:hover { border-color: var(--violet); color: var(--violet); background: var(--violet-xlight); }

/* ── SOCIAL LINKS ───────────────────────────────────────────── */
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--text-muted);
  transition: var(--ease);
}
.social-link:hover {
  background: var(--grad-main);
  border-color: transparent; color: white; transform: translateY(-2px);
}

/* ── SCROLL TOP ─────────────────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 30px; right: 30px;
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: var(--grad-main); color: white;
  font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow-violet);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: var(--ease); z-index: 999; border: none;
}
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-3px) !important; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 80px 0 0;
}
.footer-brand img { height: 40px; margin-bottom: 18px; }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.45); line-height: 1.78; max-width: 280px; }
.footer-heading { font-size: 0.75rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.9rem; color: rgba(255,255,255,0.45); transition: var(--ease); }
.footer-links a:hover { color: var(--orange-light); padding-left: 4px; }
.footer-newsletter-input {
  display: flex; border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm); overflow: hidden;
}
.footer-newsletter-input input {
  flex: 1; padding: 11px 16px;
  background: rgba(255,255,255,0.06);
  border: none; color: white; font-size: 0.87rem; outline: none;
}
.footer-newsletter-input input::placeholder { color: rgba(255,255,255,0.25); }
.footer-newsletter-input button {
  padding: 11px 18px; background: var(--grad-main); color: white;
  font-size: 0.85rem; font-weight: 600; white-space: nowrap; transition: var(--ease);
}
.footer-newsletter-input button:hover { opacity: 0.88; }
.footer-bottom {
  margin-top: 60px; padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
}
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.3); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 0.82rem; color: rgba(255,255,255,0.3); }
.footer-bottom-links a:hover { color: var(--orange-light); }

/* ── ABOUT PAGE ─────────────────────────────────────────────── */
.value-card {
  background: var(--bg-white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  text-align: center; transition: var(--ease);
}
.value-card:hover { border-color: var(--border-violet); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.value-icon { font-size: 2.2rem; margin-bottom: 14px; }
.value-card h5 { font-size: 1.05rem; margin-bottom: 8px; color: var(--text-dark); }
.value-card p { font-size: 0.88rem; color: var(--text-muted); }

/* Timeline */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: ''; position: absolute;
  left: 14px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--violet), var(--orange), transparent);
}
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-dot {
  position: absolute; left: -33px; top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--grad-main);
  border: 3px solid var(--bg-white);
  box-shadow: 0 0 0 2px var(--violet);
}
.timeline-year { font-size: 0.76rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--violet); margin-bottom: 5px; }
.timeline-content h5 { font-size: 1.05rem; margin-bottom: 6px; color: var(--text-dark); }
.timeline-content p { font-size: 0.9rem; color: var(--text-muted); }

/* Team */
.team-card {
  background: var(--bg-white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 24px;
  text-align: center; transition: var(--ease);
}
.team-card:hover { border-color: var(--border-violet); transform: translateY(-5px); box-shadow: var(--shadow-card); }
.team-avatar {
  width: 88px; height: 88px; border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 800; color: white; position: relative;
}
.team-avatar.av-blue    { background: var(--grad-sky); }
.team-avatar.av-purple  { background: var(--grad-violet); }
.team-avatar.av-gold    { background: var(--grad-warm); }
.team-avatar.av-emerald { background: linear-gradient(135deg, #059669, #14B8A6); }
.team-card h5 { font-size: 1.05rem; margin-bottom: 4px; color: var(--text-dark); }
.team-card .role { font-size: 0.82rem; color: var(--violet); font-weight: 700; margin-bottom: 12px; letter-spacing: 0.3px; }
.team-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }

/* ── SERVICES PAGE ──────────────────────────────────────────── */
.service-detail-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl); padding: 44px 40px;
  margin-bottom: 28px; transition: var(--ease);
  position: relative; overflow: hidden;
}
.service-detail-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  opacity: 0; transition: opacity var(--ease);
}
.service-detail-card.c-blue::before   { background: var(--grad-sky); }
.service-detail-card.c-purple::before { background: var(--grad-main); }
.service-detail-card.c-gold::before   { background: var(--grad-warm); }
.service-detail-card:hover { border-color: var(--border-violet); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.service-detail-card:hover::before { opacity: 1; }

.service-detail-icon {
  width: 72px; height: 72px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin-bottom: 22px;
}
.service-detail-icon.violet { background: var(--violet-xlight); color: var(--violet); }
.service-detail-icon.orange { background: var(--orange-xlight); color: var(--orange-dark); }
.service-detail-icon.sky    { background: var(--sky-xlight); color: var(--sky); }
.service-detail-icon.teal   { background: var(--teal-xlight); color: var(--teal); }
.service-detail-icon.rose   { background: var(--rose-xlight); color: var(--rose); }
.service-detail-icon.amber  { background: #FFFBEB; color: var(--amber); }

.service-detail-card h3 { font-size: 1.5rem; margin-bottom: 12px; color: var(--text-dark); }
.service-detail-card > p { color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; }
.service-features-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.service-feature-item { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--text-body); }
.service-feature-item i { color: var(--violet); font-size: 0.82rem; flex-shrink: 0; }

/* ── CAREERS ────────────────────────────────────────────────── */
.careers-section { background: var(--bg-base); }
.job-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: var(--ease); box-shadow: var(--shadow-sm);
}
.job-card:hover { border-color: var(--border-violet); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.job-card-header { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.job-title { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.job-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.job-badge { padding: 3px 12px; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 700; }
.job-badge.type   { background: var(--violet-xlight); color: var(--violet-dark); }
.job-badge.dept   { background: var(--sky-xlight); color: var(--sky); }
.job-badge.salary { background: var(--emerald-xlight); color: var(--emerald); }
.job-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.72; margin-bottom: 14px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.job-tag {
  padding: 4px 12px; border-radius: var(--radius-full);
  background: var(--bg-surface); border: 1.5px solid var(--border);
  font-size: 0.78rem; color: var(--text-muted);
}

.benefit-card {
  background: var(--bg-white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  text-align: center; transition: var(--ease);
}
.benefit-card:hover { border-color: var(--border-violet); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.benefit-icon { font-size: 2.2rem; margin-bottom: 14px; }
.benefit-card h5 { font-size: 1rem; margin-bottom: 8px; color: var(--text-dark); }
.benefit-card p { font-size: 0.85rem; color: var(--text-muted); }

/* ── CONTACT ────────────────────────────────────────────────── */
.contact-section { background: var(--bg-base); }
.contact-info-card {
  background: var(--bg-white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 30px; height: 100%;
}
.contact-info-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-info-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-info-icon.violet { background: var(--violet-xlight); color: var(--violet); }
.contact-info-icon.orange { background: var(--orange-xlight); color: var(--orange-dark); }
.contact-info-icon.sky    { background: var(--sky-xlight); color: var(--sky); }
.contact-info-icon.teal   { background: var(--teal-xlight); color: var(--teal); }
.contact-info-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-faint); margin-bottom: 4px; }
.contact-info-value { font-size: 0.94rem; color: var(--text-body); }

.contact-form-card {
  background: var(--bg-white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px 36px;
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--text-body); margin-bottom: 8px; }
.form-control-dark {
  width: 100%; padding: 12px 18px;
  background: var(--bg-base);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-dark); font-size: 0.94rem; font-family: inherit;
  transition: var(--ease); outline: none; appearance: none;
}
.form-control-dark::placeholder { color: var(--text-faint); }
.form-control-dark:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124,58,237,0.12); background: var(--bg-white); }
.form-control-dark:hover { border-color: #D1D5DB; }
textarea.form-control-dark { resize: vertical; min-height: 140px; }
select.form-control-dark {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px;
  padding-right: 42px;
}
select.form-control-dark option { background: white; color: var(--text-dark); }

.form-check-dark { display: flex; align-items: flex-start; gap: 10px; }
.form-check-dark input[type="checkbox"] { accent-color: var(--violet); margin-top: 3px; width: 16px; height: 16px; cursor: pointer; }
.form-check-dark label { font-size: 0.87rem; color: var(--text-muted); cursor: pointer; }

/* FAQ */
.faq-item { border: 1.5px solid var(--border); border-radius: var(--radius-md); margin-bottom: 12px; overflow: hidden; transition: var(--ease); background: var(--bg-white); }
.faq-item.open { border-color: var(--border-violet); }
.faq-question { padding: 20px 24px; font-weight: 700; font-size: 0.95rem; color: var(--text-dark); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; user-select: none; }
.faq-question:hover { color: var(--violet); }
.faq-question i { transition: transform var(--ease); flex-shrink: 0; color: var(--violet); }
.faq-item.open .faq-question i { transform: rotate(45deg); }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: all 0.35s ease; color: var(--text-muted); font-size: 0.9rem; line-height: 1.78; }
.faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 20px; }

/* ── AOS SAFETY ─────────────────────────────────────────────── */
[data-aos][data-aos][data-aos] { pointer-events: auto; }
[data-aos].aos-animate { pointer-events: auto; }
[data-aos]:not(.aos-init) { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ── PORTFOLIO HIDDEN ───────────────────────────────────────── */
.portfolio-card.hidden-item { display: none; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 991px) {
  .hero-visual { padding-top: 0; margin-top: -20px; }
  .hero-content { padding-bottom: 40px; }
  .about-circle-wrap { width: 300px; }
  .service-features-list { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .section-pad { padding: 68px 0; }
  .hero-headline { font-size: 2.4rem; }
  .hero-stats { gap: 24px; }
  .about-circle-wrap { width: 260px; }
  .about-metric-bubble { display: none; }
  .footer-bottom { text-align: center; justify-content: center; }
  .contact-form-card { padding: 26px 18px; }
  .service-detail-card { padding: 30px 22px; }
  .scroll-top { bottom: 20px; right: 20px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-primary-glow, .btn-ghost, .btn-ghost-white, .btn-orange { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .section-title { font-size: 1.75rem; }
}
