/* ============================================================
   WEBCRAFT STUDIO — PREMIUM CSS
   Award-winning design inspired by Apple, Stripe, Linear, Vercel
   ============================================================ */

/* ===========================
   GOOGLE FONTS IMPORT
   =========================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ===========================
   DESIGN TOKENS / ROOT
   =========================== */
:root {
  /* Core palette - Dark Black-Gray Theme */
  --bg:            #080c1a;
  --bg-soft:       #0f1424;
  --bg-card:       #12182b;
  --text:          #f1f5f9;
  --text-muted:    #94a3b8;
  --text-subtle:   #64748b;
  --accent:        #0057ff;
  --accent-2:      #7c3aed;
  --accent-3:      #06b6d4;

  /* Gradients */
  --gradient:         linear-gradient(135deg, #0057ff 0%, #7c3aed 100%);
  --gradient-text:    linear-gradient(135deg, #0057ff, #7c3aed);
  --gradient-aurora:  linear-gradient(135deg, #020818 0%, #050a1a 50%, #07041a 100%);
  --gradient-hero-glow: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,87,255,0.25) 0%, transparent 70%);

  /* Glass */
  --glass:         rgba(255,255,255,0.06);
  --glass-mid:     rgba(255,255,255,0.10);
  --glass-high:    rgba(255,255,255,0.16);
  --glass-border:  rgba(255,255,255,0.12);
  --glass-border-strong: rgba(255,255,255,0.22);

  /* Glows */
  --glow-blue:     rgba(0,87,255,0.45);
  --glow-purple:   rgba(124,58,237,0.45);
  --glow-cyan:     rgba(6,182,212,0.35);

  /* Shadows */
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:     0 4px 24px rgba(0,0,0,0.09);
  --shadow-lg:     0 12px 48px rgba(0,0,0,0.13);
  --shadow-xl:     0 24px 80px rgba(0,0,0,0.18);
  --shadow-glow:   0 8px 40px rgba(0,87,255,0.28);
  --shadow-glow-lg:0 16px 64px rgba(0,87,255,0.35);

  /* Borders */
  --border:        rgba(0,0,0,0.08);
  --border-subtle: rgba(0,0,0,0.05);

  /* Radius */
  --radius-xs:  6px;
  --radius-sm:  10px;
  --radius:     16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-full:9999px;

  /* Easings */
  --ease-out-expo:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out:     cubic-bezier(0.65, 0, 0.35, 1);

  /* Layout */
  --nav-h:        96px;
  --container:    1280px;
  --section-pad:  3.5rem;

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body:    'Outfit', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-width: thin;
  scrollbar-color: #0057ff #080c1a;
}

/* Custom Blue Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #080c1a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #0057ff 0%, #7c3aed 100%);
  border-radius: 9999px;
  border: 2px solid #080c1a;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #2563eb 0%, #6d28d9 100%);
}

body {
  font-family: var(--font-body);
  background: #080c1a !important;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 700;
}

a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--font-body); }
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
}
p, li, span, div {
  font-weight: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

::selection {
  background: rgba(0,87,255,.18);
  color: var(--text);
}



/* ===========================
   SCROLL-TO-TOP
   =========================== */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 48px; height: 48px;
  background: var(--gradient);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 8px 24px rgba(0,87,255,.35);
  z-index: 500;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .35s var(--ease-out-expo), transform .35s var(--ease-spring), box-shadow .25s;
  pointer-events: none;
}

.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top-btn:hover {
  box-shadow: 0 12px 40px rgba(0,87,255,.5);
  transform: translateY(-3px);
}

/* ===========================
   BUTTONS — PREMIUM
   =========================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  padding: .875rem 1.875rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  white-space: nowrap;
  letter-spacing: .01em;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

/* Crisp Light Sheen Sweep */
.btn-primary::before {
  content: '';
  position: absolute;
  top: -50%; left: -110%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
  transform: rotate(25deg);
  transition: left .6s ease;
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(37, 99, 235, 0.45);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-primary:hover::before {
  left: 140%;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

.btn-primary .arrow {
  display: inline-block;
  transition: transform .25s ease;
}

.btn-primary:hover .arrow {
  transform: translateX(5px);
}

.btn-primary.lg { padding: 1.05rem 2.25rem; font-size: 1.02rem; }
.btn-primary.full { display: flex; justify-content: center; width: 100%; }

/* Ghost button */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  padding: .875rem 1.875rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,.22);
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .3s var(--ease-spring), box-shadow .3s;
  white-space: nowrap;
  letter-spacing: .01em;
  position: relative;
  overflow: hidden;
}

/* Ghost button */
.btn-ghost::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.08), transparent);
  opacity: 0;
  transition: opacity .25s;
}

.btn-ghost:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.38);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.btn-ghost:hover::after { opacity: 1; }
.btn-ghost:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,87,255,.2);
}
.btn-ghost.lg { padding: 1.05rem 2.25rem; font-size: 1.02rem; }

/* Outline button */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  padding: .875rem 1.875rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color .25s, color .25s, background .25s, transform .3s var(--ease-spring), box-shadow .3s;
  white-space: nowrap;
  letter-spacing: .01em;
  position: relative;
  overflow: hidden;
  outline: none;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0,87,255,.04);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,87,255,.12);
}

.btn-outline:focus { outline: none; box-shadow: none; }
.btn-outline.full { display: flex; justify-content: center; width: 100%; }

/* Nav CTA button */
.btn-nav {
  background: var(--gradient) !important;
  color: #fff !important;
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
  font-size: .85rem !important;
  padding: .6rem 1.4rem !important;
  border-radius: var(--radius-full) !important;
  border: none !important;
  cursor: pointer !important;
  transition: transform .25s var(--ease-spring), box-shadow .25s, opacity .2s !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  position: relative !important;
  overflow: hidden !important;
}

.btn-nav::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transform: skewX(-20deg);
  transition: left .5s ease;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,87,255,.35);
}

.btn-nav:hover::before { left: 140%; }

/* Arrow animation */
.arrow { display: inline-block; transition: transform .25s var(--ease-spring); }
.btn-primary:hover .arrow,
.btn-ghost:hover .arrow { transform: translateX(5px); }

/* Ripple */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  transform: scale(0);
  animation: rippleAnim .6s linear;
  pointer-events: none;
}

@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; }
}

/* ===========================
   NAVBAR — GLASSMORPHISM
   =========================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(8, 12, 26, 0.85) !important;
  backdrop-filter: blur(16px) saturate(1.8) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.8) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: background .4s ease, box-shadow .4s ease, height .4s var(--ease-out-expo), backdrop-filter .4s, transform .3s ease;
}

.navbar.scrolled {
  background: rgba(8, 12, 26, 0.95) !important;
  backdrop-filter: blur(16px) saturate(1.8) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.8) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  height: var(--nav-h) !important;
}

.navbar.nav-hidden {
  transform: translateY(0) !important;
}

.nav-inner {
  max-width: var(--container) !important;
  margin: 0 auto !important;
  padding: 0 2rem !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1.5rem !important;
}

/* Logo */
.logo {
  display: flex !important;
  align-items: center !important;
  gap: .65rem !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  color: var(--text) !important;
  cursor: pointer !important;
  border: none !important;
  background: none !important;
  transition: opacity .2s !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
}

.logo:hover { opacity: .85 !important; }

.logo-mark {
  width: 42px !important; height: 42px !important;
  background: var(--gradient) !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 12px !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(0,87,255,.35) !important;
  transition: transform .3s var(--ease-spring), box-shadow .3s !important;
}

/* Header logo image - enlarged for prominent brand representation */
.logo-img,
.navbar.scrolled .logo-img {
  height: 76px !important;
  max-height: 78px !important;
  width: auto !important;
  max-width: 320px !important;
  object-fit: contain !important;
  display: block !important;
  filter: drop-shadow(0 2px 10px rgba(0, 87, 255, 0.45)) !important;
  transition: filter 0.25s ease, transform 0.25s ease !important;
}
.logo:hover .logo-img {
  opacity: 0.95 !important;
  transform: scale(1.03) !important;
}

/* Footer logo alignment */
footer .logo,
.footer .logo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  text-align: left !important;
}

footer .logo-img,
.footer .logo-img {
  height: 85px !important;
  max-height: 90px !important;
  width: auto !important;
  max-width: 320px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  display: block !important;
  object-fit: contain !important;
  object-position: left center !important;
  filter: drop-shadow(0 4px 14px rgba(0, 87, 255, 0.35)) !important;
}

.footer-brand {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
}

.logo:hover .logo-mark {
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 6px 20px rgba(0,87,255,.45);
}

/* Navbar text states */
.navbar .logo-text,
.navbar.scrolled .logo-text {
  color: #ffffff !important;
  transition: color .3s ease;
}

.footer .logo .logo-text {
  color: #ffffff !important;
}

/* Nav links color - white for transparent header when scrolled or unscrolled */
.nav-links a,
.navbar.scrolled .nav-links a {
  position: relative;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85) !important;
  transition: color .25s;
  padding-bottom: 2px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active,
.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
  color: #ffffff !important;
}

.hamburger span,
.navbar.scrolled .hamburger span {
  background: #ffffff !important;
}

.logo-text em {
  font-style: normal;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav links */
.nav-links {
  display: flex !important;
  align-items: center !important;
  gap: 1.2rem !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  flex-shrink: 0 !important;
}

.nav-links a {
  position: relative;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .25s;
  padding-bottom: 2px;
  text-decoration: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transition: width .3s var(--ease-out-expo);
}



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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  border-radius: 8px;
  transition: background .2s;
}

.hamburger:hover { background: rgba(0,0,0,.05); }

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform .35s var(--ease-out-expo), opacity .25s, width .25s, background .2s;
}

.navbar.scrolled .hamburger span {
  background: #0f172a;
}

.hamburger.open span {
  background: #ffffff !important;
}

.hamburger.open {
  background: rgba(255, 255, 255, 0.15) !important;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 16px; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  transition: opacity .35s ease;
}

.mobile-menu-overlay.open { opacity: 1; }

/* ===========================
   HERO — AURORA / PREMIUM
   =========================== */
.hero {
  min-height: 64vh;
  display: flex;
  align-items:center;
  position: relative;
  overflow: hidden;
  background: #020818;
  color: #fff;
  padding-top: calc(var(--nav-h) + .5rem);
  isolation: isolate;
}

/* Aurora canvas */
#aurora-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: .85;
}

/* Grid overlay */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: 1;
  pointer-events: none;
}

/* Radial vignette */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(2,8,24,.7) 0%, transparent 70%);
  z-index: 2;
  pointer-events: none;
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

.hero-orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,87,255,.25) 0%, transparent 70%);
  top: -200px; left: -150px;
  animation: orbDrift1 12s ease-in-out infinite alternate;
}

.hero-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,.3) 0%, transparent 70%);
  bottom: -100px; right: -100px;
  animation: orbDrift2 10s ease-in-out infinite alternate;
}

.hero-orb-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(6,182,212,.2) 0%, transparent 70%);
  top: 30%; left: 55%;
  animation: orbDrift3 14s ease-in-out infinite alternate;
}

@keyframes orbDrift1 {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(60px, -40px, 0) scale(1.1); }
}

@keyframes orbDrift2 {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-50px, 30px, 0) scale(1.12); }
}

@keyframes orbDrift3 {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: .6; }
  100% { transform: translate3d(-30px, -40px, 0) scale(1.08); opacity: 1; }
}

/* Particle canvas */
#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: .55;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 5;
  max-width: 1179px;
  padding-top: 2.2rem;
  padding-bottom: 3.2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}

/* Hero Section 2 Columns */
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

@media (max-width: 900px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
    text-align: center;
  }
  
  .hero-ctas, .hero-stats {
    justify-content: center;
  }
}


/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255,255,255,.9);
  font-size: .82rem;
  font-weight: 500;
  padding: .45rem 1.1rem .45rem .6rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.75rem;
  animation: fadeUpIn .7s .05s var(--ease-out-expo) both;
  letter-spacing: .01em;
}

.badge-dot {
  width: 20px; height: 20px;
  background: linear-gradient(135deg, #0057ff, #7c3aed);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
  flex-shrink: 0;
  animation: badgePulse 2.5s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(0,87,255,.6);
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 8px rgba(0,87,255,.5); transform: scale(1); }
  50%       { box-shadow: 0 0 20px rgba(0,87,255,.8); transform: scale(1.1); }
}

/* Hero title with split-text support */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.01em;
  word-spacing: .18em;
  margin-bottom: 1.5rem;
  animation: fadeUpIn .75s .15s var(--ease-out-expo) both;
  text-shadow: 0 8px 40px rgba(0,0,0,.25);
}

.hero-title .word {
  display: inline-block !important;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease-out-expo), transform .7s var(--ease-out-expo);
  margin-right: 0.22em !important;
}

.hero-title .word:last-child {
  margin-right: 0.22em !important;
}

.hero-title.words-ready .word { opacity: 1; transform: translateY(0); }

.gradient-text {
  display: inline-block !important;
  margin-left: 0.05em !important;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% center; }
  50%       { background-position: 100% center; }
}

/* Hero subtitle */
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.68);
  margin-bottom: 2.5rem;
  line-height: 1.75;
  animation: fadeUpIn .75s .25s var(--ease-out-expo) both;
}

/* CTAs */
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.75rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  animation: fadeUpIn .75s .35s var(--ease-out-expo) both;
}

.hero-ctas > * {
  isolation: isolate;
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2.5rem;
  animation: fadeUpIn .75s .45s var(--ease-out-expo) both;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.stat strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -.02em;
  background: linear-gradient(135deg, #fff, rgba(255,255,255,.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat span {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.stat-div {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.2), transparent);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem; right: 3rem;
  display: flex;
  align-items: center;
  gap: .85rem;
  color: rgba(255,255,255,.35);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  writing-mode: vertical-lr;
  animation: fadeUpIn .9s .6s var(--ease-out-expo) both;
}

.scroll-line {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, rgba(255,255,255,.35), transparent);
  overflow: hidden;
  position: relative;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: rgba(255,255,255,.7);
  animation: scrollTrail 2.2s ease-in-out infinite;
}

@keyframes scrollTrail {
  0%   { top: -100%; }
  60%  { top: 100%; }
  100% { top: 100%; }
}

/* Hero background parallax wrapper */
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 1; }

/* ===========================
   FLOATING SHAPES (Hero)
   =========================== */
.hero-shape {
  position: absolute;
  pointer-events: none;
  z-index: 3;
  will-change: transform;
}

.shape-ring {
  width: 280px; height: 280px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 50%;
  top: 10%; right: 8%;
  animation: shapeSpin 30s linear infinite;
}

.shape-ring-inner {
  width: 180px; height: 180px;
  border: 1px solid rgba(0,87,255,.15);
  border-radius: 50%;
  top: calc(10% + 50px); right: calc(8% + 50px);
  animation: shapeSpin 20s linear infinite reverse;
}

.shape-dot-cluster {
  top: 20%; right: 6%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.shape-dot-cluster span {
  width: 4px; height: 4px;
  background: rgba(255,255,255,.18);
  border-radius: 50%;
  display: block;
  animation: dotTwinkle 3s ease-in-out infinite;
}

.shape-dot-cluster span:nth-child(odd) { animation-delay: .5s; }
.shape-dot-cluster span:nth-child(3n) { animation-delay: 1s; }

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

@keyframes dotTwinkle {
  0%, 100% { opacity: .2; }
  50%       { opacity: .8; }
}

/* ===========================
   SECTION SHARED
   =========================== */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

/* Gradient top divider on sections */
.section::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,87,255,.15) 30%, rgba(124,58,237,.15) 70%, transparent 100%);
  opacity: 0;
  transform: scaleX(.6);
  transition: opacity .8s ease, transform .8s var(--ease-out-expo);
}

.section.is-visible::before {
  opacity: 1;
  transform: scaleX(1);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent);
  margin-bottom: .9rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 540px;
  margin-bottom: 3.75rem;
  line-height: 1.72;
}

/* ===========================
   REVEAL ANIMATIONS
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(32px) scale(.97);
  transition: opacity .75s var(--ease-out-expo), transform .75s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Custom 3D Cascade Reveal specifically for Service Cards */
.service-card.reveal {
  opacity: 0;
  transform: translateY(50px) rotateX(12deg) rotateY(-6deg) scale(0.96);
  transition: opacity .9s cubic-bezier(0.165, 0.84, 0.44, 1), 
              transform .9s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  perspective: 1000px;
}

.service-card.reveal.visible {
  opacity: 1;
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translateY(0) scale(1) !important;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .75s var(--ease-out-expo), transform .75s var(--ease-out-expo);
}

.reveal-left.visible { opacity: 1; transform: none; }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .75s var(--ease-out-expo), transform .75s var(--ease-out-expo);
}

.reveal-right.visible { opacity: 1; transform: none; }

.reveal-scale {
  opacity: 0;
  transform: scale(.88);
  transition: opacity .75s var(--ease-out-expo), transform .75s var(--ease-spring);
}

.reveal-scale.visible { opacity: 1; transform: none; }

/* ===========================
   SERVICES — HOME SECTION
   =========================== */
/* Decreased margin/padding at the top of the services section */
#services-home {
  padding-top: 3rem !important;
  position: relative;
  overflow: hidden;
  background: #090c15 !important; /* Premium dark background transition */
}

/* Ambient glowing background orbs */
.ambient-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}
.ambient-glow-orb.orb-1 {
  width: 400px;
  height: 400px;
  background: #2563eb;
  top: -100px;
  right: -100px;
}
.ambient-glow-orb.orb-2 {
  width: 350px;
  height: 350px;
  background: #7c3aed;
  bottom: -100px;
  left: -150px;
}

/* Side-by-side Split Header Layout on Desktop */
.services-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: flex-end;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}
.services-header .section-title {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.1;
  color: #ffffff;
}
.services-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-left: 2px solid var(--accent);
  padding-left: 1.5rem;
  margin: 0;
}
@media (max-width: 991px) {
  .services-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }
  .services-desc {
    font-size: 1rem;
    padding-left: 1rem;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.8rem;
  position: relative;
  z-index: 1;
}

/* Unique Premium Card Design */
.service-card {
  background: linear-gradient(145deg, rgba(20, 24, 33, 0.95), rgba(10, 12, 16, 0.95)) !important;
  border: 1px solid rgba(255, 255, 255, 0.04) !important;
  border-radius: 24px !important;
  padding: 2.5rem 2.25rem !important;
  position: relative;
  overflow: hidden;
  transition: transform .4s cubic-bezier(0.165, 0.84, 0.44, 1), 
              box-shadow .4s ease, 
              border-color .3s ease,
              opacity .8s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: transform;
  cursor: pointer;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45) !important;
}

.card-overlay-link {
  position: absolute;
  inset: 0;
  z-index: 10;
}

/* Glowing pointer spotlight */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(96, 165, 250, 0.08), transparent 55%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
}

/* Asymmetric Left Accent Indicator */
.service-card::before {
  content: '';
  position: absolute;
  left: 0; top: 22%; bottom: 22%;
  width: 3px;
  background: var(--gradient);
  border-radius: 0 4px 4px 0;
  opacity: 0;
  transition: opacity .35s ease, transform .35s ease;
  transform: scaleY(0.4);
  z-index: 2;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.015) !important;
  border-color: rgba(37, 99, 235, 0.25) !important;
  box-shadow: 0 20px 45px rgba(0, 87, 255, 0.12), 0 0 35px rgba(124, 58, 237, 0.05) !important;
}

.service-card:hover::before {
  opacity: 1;
  transform: scaleY(1);
}
.service-card:hover::after {
  opacity: 1;
}

/* Full-Width Card Banner Image Container */
.service-icon-wrap {
  width: 100% !important;
  height: 260px !important;
  background: rgba(37, 99, 235, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
  border-radius: 16px !important;
  margin-bottom: 1.6rem !important;
  position: relative;
  z-index: 2;
  overflow: hidden; /* Ensure images don't bleed out of rounded borders */
}

/* Image styles inside card icon containers with zoom transition */
.service-icon-wrap img,
.service-detail-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: inherit !important;
  display: block !important;
  transition: transform .6s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.service-card:hover .service-icon-wrap img {
  transform: scale(1.08) !important;
}

.service-card:hover .service-icon-wrap {
  border-color: rgba(37, 99, 235, 0.3) !important;
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.25) !important;
}

/* Legacy class compat */
.service-icon { font-size: 2rem; margin-bottom: 1.2rem; display: block; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.20rem;
  font-weight: 700;
  margin-bottom: .75rem;
  letter-spacing: -.01em;
  color: #ffffff;
  position: relative;
  z-index: 2;
}

.service-card p {
  color: var(--text-muted);
  font-size: .93rem;
  line-height: 1.7;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

/* ===========================
   INDUSTRIES
   =========================== */
/* Decreased top and bottom spacing for the industries section */
#industries {
  padding-top: 3.5rem !important;
  padding-bottom: 3.5rem !important;
}

.industries-section { background: var(--bg-soft); }

.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.industry-pill {
  display: flex;
  align-items: center;
  gap: .65rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: .75rem 1.5rem;
  font-size: .9rem;
  font-weight: 500;
  transition:
    border-color .25s,
    transform .5s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow .3s,
    background .25s,
    opacity .5s ease;
  cursor: default;
  will-change: transform;
}

.industry-pill:hover {
  border-color: var(--accent) !important;
  transform: translateY(-6px) scale(1.025) !important;
  box-shadow: 0 8px 24px rgba(0,87,255,.15);
  background: rgba(0,87,255,.03);
}

.industry-pill i {
  font-size: 1.1rem;
  color: var(--accent);
  transition: transform .3s ease;
}

.industry-pill:hover i {
  transform: scale(1.15) rotate(-5deg);
}

/* Staggered float animation - triggered only after they scroll into view (.visible) */
.industry-pill.visible:nth-child(1)  { animation: pillFloat 5.5s 0s    ease-in-out infinite; }
.industry-pill.visible:nth-child(2)  { animation: pillFloat 5.5s .4s   ease-in-out infinite; }
.industry-pill.visible:nth-child(3)  { animation: pillFloat 5.5s .8s   ease-in-out infinite; }
.industry-pill.visible:nth-child(4)  { animation: pillFloat 5.5s 1.2s  ease-in-out infinite; }
.industry-pill.visible:nth-child(5)  { animation: pillFloat 5.5s 1.6s  ease-in-out infinite; }
.industry-pill.visible:nth-child(6)  { animation: pillFloat 5.5s 2.0s  ease-in-out infinite; }
.industry-pill.visible:nth-child(7)  { animation: pillFloat 5.5s 2.4s  ease-in-out infinite; }
.industry-pill.visible:nth-child(8)  { animation: pillFloat 5.5s 2.8s  ease-in-out infinite; }
.industry-pill.visible:nth-child(9)  { animation: pillFloat 5.5s 3.2s  ease-in-out infinite; }
.industry-pill.visible:nth-child(10) { animation: pillFloat 5.5s 3.6s  ease-in-out infinite; }

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

.industry-pill.visible:hover { animation: none !important; }

/* ===========================
   PORTFOLIO PREVIEW (HOME)
   =========================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition:
    transform .4s var(--ease-spring),
    box-shadow .4s ease,
    border-color .3s;
  will-change: transform;
  position: relative;
  cursor: default;
}

.portfolio-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}

.portfolio-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0,87,255,.07), transparent 45%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
  border-radius: inherit;
}

.portfolio-card.large { grid-row: span 2; }

.portfolio-card:hover {
  transform: translateY(-10px) scale(1.015);
  box-shadow: 0 0 0 1px rgba(37,99,255,.35), 0 20px 60px rgba(0,87,255,.14), 0 4px 16px rgba(0,0,0,.06);
  border-color: rgba(37,99,255,.35);
}

.portfolio-card:hover::before { opacity: 1; }
.portfolio-card:hover::after  { opacity: 1; }

.portfolio-img {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.portfolio-card.large .portfolio-img { aspect-ratio: 4/3; }

/* Hover overlay */
.portfolio-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5,10,26,.55);
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 2;
}

.portfolio-card:hover .portfolio-img::after { opacity: 1; }

/* Mockup */
.portfolio-mockup {
  background: rgba(255,255,255,.12);
  border-radius: 10px;
  width: 75%;
  padding: 1rem 1.2rem 1.4rem;
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .4s var(--ease-spring);
  position: relative; z-index: 1;
}

.portfolio-card:hover .portfolio-mockup { transform: scale(1.04) translateY(-4px); }
.portfolio-mockup.small { padding: .8rem 1rem 1.2rem; }
.mockup-bar { height: 8px; background: rgba(255,255,255,.25); border-radius: 4px; margin-bottom: .8rem; }
.mockup-content { text-align: center; }
.mockup-hero-text { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: #fff; }
.mockup-sub { font-size: .75rem; color: rgba(255,255,255,.7); margin-top: .2rem; }

.portfolio-info {
  padding: 1.4rem 1.6rem;
  background: #fff;
}

.tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--accent);
  background: rgba(0,87,255,.08);
  padding: .28rem .75rem;
  border-radius: 4px;
  margin-bottom: .65rem;
}

.portfolio-info h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.07rem;
  margin-bottom: .4rem;
  letter-spacing: -.01em;
}

.portfolio-info p { font-size: .88rem; color: var(--text-muted); }

.center-cta { text-align: center; }

/* ===========================
   PRICING
   =========================== */
.pricing-section { background: var(--bg-soft); }

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

.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow .4s ease,
    transform .4s var(--ease-spring);
  will-change: transform;
}

/* Shine sweep on hover */
.pricing-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -75%;
  width: 50%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent);
  transform: skewX(-20deg);
  transition: left .7s ease;
  pointer-events: none;
  z-index: 1;
}

.pricing-card:hover::before { left: 150%; }

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.pricing-card.featured {
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box,
              var(--gradient) border-box;
  box-shadow: 0 12px 48px rgba(0,87,255,.2);
  transform: scale(1.025);
  padding-top: 3.8rem !important; /* Extra padding to prevent badge overlap */
}

.pricing-card.featured:hover {
  transform: scale(1.035) translateY(-8px);
  box-shadow: 0 20px 64px rgba(0,87,255,.28);
}

/* Featured glow */
.pricing-card.featured::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: var(--gradient);
  opacity: .12;
  z-index: 0;
  pointer-events: none;
  transition: opacity .4s;
}

.pricing-card.featured:hover::after { opacity: .2; }

.popular-badge {
  position: absolute;
  top: 1.25rem; left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .32rem 1rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,87,255,.35);
  z-index: 2;
}

.plan-name {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text-muted);
  margin-bottom: .65rem;
  position: relative; z-index: 1;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: .65rem;
  letter-spacing: -.03em;
  position: relative; z-index: 1;
}

.plan-price span {
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
}

.plan-desc {
  font-size: .88rem;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
  line-height: 1.65;
  position: relative; z-index: 1;
}

.plan-features {
  margin-bottom: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  position: relative; z-index: 1;
  flex-grow: 1; /* Pushes the button to the bottom of the card */
}

.plan-features li {
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.plan-features li.disabled {
  color: var(--text-subtle);
  opacity: .55;
}

/* ===========================
   WHY CHOOSE US
   =========================== */
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
}

.why-left p {
  color: var(--text-muted);
  font-size: 1.04rem;
  line-height: 1.78;
}

.why-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.4rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition:
    border-color .3s,
    transform .3s var(--ease-spring),
    box-shadow .3s,
    background .3s;
}

.why-item:hover {
  border-color: rgba(0, 87, 255, 0.3) !important;
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 87, 255, 0.15) !important;
  background: #242936 !important;
}

.why-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0,87,255,.1), rgba(124,58,237,.1));
  border-radius: 12px;
  transition: transform .35s var(--ease-spring);
}

.why-item:hover .why-icon { transform: rotate(-10deg) scale(1.15); }

.why-item h4 {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .32rem;
  letter-spacing: -.01em;
}

.why-item p { font-size: .83rem; color: var(--text-muted); line-height: 1.58; }

/* ===========================
   TESTIMONIALS CAROUSEL
   =========================== */
.testimonials-section { background: var(--bg-soft); overflow: hidden; }

.testimonials-carousel {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  transition: transform .65s var(--ease-out-expo);
  will-change: transform;
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  flex: 0 0 calc((100% - 1.5rem) / 2);
  min-width: calc((100% - 1.5rem) / 2);
  max-width: calc((100% - 1.5rem) / 2);
  margin-right: 0;
  flex-shrink: 0;
  box-sizing: border-box;
  transition:
    transform .4s var(--ease-spring),
    box-shadow .4s ease,
    opacity .4s;
  will-change: transform;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease-out-expo);
  border-radius: 2px 2px 0 0;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card:hover::before { transform: scaleX(1); }

.stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 1.1rem;
  letter-spacing: .08em;
}

.quote-icon {
  position: absolute;
  top: 1.5rem; right: 1.8rem;
  font-size: 3.5rem;
  font-family: Georgia, serif;
  color: rgba(0,87,255,.08);
  line-height: 1;
  font-weight: 900;
  pointer-events: none;
}

.testimonial-card > p {
  color: var(--text-muted);
  font-size: .93rem;
  line-height: 1.75;
  margin-bottom: 1.6rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .82rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
  transition: transform .3s var(--ease-spring);
}

.testimonial-card:hover .author-avatar { transform: scale(1.08); }
.testimonial-author strong { display: block; font-size: .92rem; font-weight: 600; }
.testimonial-author span { font-size: .78rem; color: var(--text-muted); }

/* Carousel controls */
.carousel-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  justify-content: center;
}

.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: border-color .25s, background .25s, transform .3s var(--ease-spring), box-shadow .3s;
  color: var(--text);
}

.carousel-btn:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0,87,255,.25);
}

.carousel-dots {
  display: flex;
  gap: .5rem;
  align-items: center;
}

.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: width .3s var(--ease-spring), background .3s, transform .3s;
  padding: 0;
}

.carousel-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--gradient);
  transform: none;
}

/* ===========================
   CTA BANNER
   =========================== */
.cta-banner {
  background: #020818;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.cta-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .5;
}

.blob-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #0057ff, transparent 70%);
  top: -200px; left: -150px;
}

.blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #7c3aed, transparent 70%);
  bottom: -100px; right: -100px;
}

.blob-3 {
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(0,87,255,.28), transparent 70%);
  top: -300px; right: -200px;
  opacity: .25;
}

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

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.1rem;
  letter-spacing: -.03em;
}

.cta-content p {
  color: rgba(255,255,255,.62);
  font-size: 1.12rem;
  margin-bottom: 2.5rem;
  max-width: 520px;
  margin-left: auto; margin-right: auto;
  line-height: 1.72;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: #080a12;
  color: rgba(255,255,255,.65);
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

/* Gradient top border */
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,87,255,.4), rgba(124,58,237,.4), transparent);
}

/* Subtle background pattern */
.footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  position: relative; z-index: 1;
}

.footer-brand p {
  font-size: .88rem;
  margin-top: 1.1rem;
  margin-bottom: 1.6rem;
  line-height: 1.75;
  max-width: 260px;
}

.footer .logo .logo-text { color: #fff; }
.footer .logo .logo-text em { -webkit-text-fill-color: transparent; }

/* Social icons */
.social-links { display: flex; gap: .8rem; }
/* Social icons */
.social-links { display: flex; gap: .8rem; }

.social-links a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.07);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  transition: background .25s, color .25s, transform .3s var(--ease-spring), box-shadow .3s;
  border: 1px solid rgba(255,255,255,.07);
  text-decoration: none;
}
.social-links a i {
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links a:hover {
  transform: translateY(-4px);
}

/* Real App Logo Colors and Brand Backgrounds */
.social-links a[aria-label*="Facebook"] {
  background: #1877f2 !important;
  color: #fff !important;
  border-color: #1877f2 !important;
}
.social-links a[aria-label*="Instagram"] {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%) !important;
  color: #fff !important;
  border-color: transparent !important;
}
.social-links a[aria-label*="Twitter"] {
  background: #000000 !important;
  color: #fff !important;
  border-color: #333333 !important;
}
.social-links a[aria-label*="LinkedIn"],
.social-links span[aria-label*="LinkedIn"] {
  background: #0077b5 !important;
  color: #fff !important;
  border-color: #0077b5 !important;
  cursor: default !important;
  pointer-events: none !important;
}

.social-links a[aria-label*="Facebook"]:hover {
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.45) !important;
}
.social-links a[aria-label*="Instagram"]:hover {
  box-shadow: 0 8px 20px rgba(214, 36, 159, 0.45) !important;
}
.social-links a[aria-label*="Twitter"]:hover {
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15) !important;
}
.social-links a[aria-label*="LinkedIn"]:hover,
.social-links span[aria-label*="LinkedIn"]:hover {
  box-shadow: 0 4px 14px rgba(0, 119, 181, 0.35) !important;
  transform: none !important;
}

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

.footer-col h4 {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.35rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.footer-col ul { display: flex; flex-direction: column; gap: .75rem; }

.footer-col ul li,
.footer-col ul a {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  transition: color .2s, padding-left .25s;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  text-align: left;
  text-decoration: none;
}

.footer-col ul a:hover { color: #fff; padding-left: 4px; }

.contact-info li { display: flex; align-items: center; gap: .6rem; }

.contact-info li a {
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none;
  transition: color 0.25s ease, padding-left 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-info li a:hover {
  color: #60a5fa !important;
  padding-left: 4px;
}

.whatsapp-link {
  color: #25d366 !important;
  cursor: pointer;
  transition: opacity .2s, color .2s, padding-left .25s;
}

.whatsapp-link:hover { opacity: .9; padding-left: 4px; }

/* ===========================
   CAREERS PAGE & APPLY MODAL (100% UNIFIED DARK THEME)
   =========================== */
body[data-page="careers"] {
  background: var(--bg, #020818) !important;
  color: var(--text, #f8fafc) !important;
}

body[data-page="careers"] .section-title {
  color: #ffffff !important;
}

body[data-page="careers"] .page-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h, 84px) + 3rem) 0 4.5rem 0;
  text-align: center;
  background: #020818 !important;
  overflow: hidden;
}

body[data-page="careers"] .page-hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
}

body[data-page="careers"] .page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.15;
  margin: 0.8rem 0 1.2rem 0;
}

body[data-page="careers"] .page-hero-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75) !important;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

body[data-page="careers"] .careers-positions-section {
  background: #06101f !important;
  padding: 4.5rem 0 6rem 0;
  position: relative;
}

.job-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

@media (max-width: 991px) {
  .job-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Simple, Clean Card Format */
.job-card {
  background: linear-gradient(145deg, rgba(20, 24, 33, 0.95), rgba(10, 12, 16, 0.95)) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  padding: 2.2rem !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
  color: var(--text, #f8fafc) !important;
}

/* Subtle Left Accent Line */
.job-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 4px;
  background: var(--gradient);
  border-radius: 0 4px 4px 0;
  opacity: 0.8;
  transition: opacity 0.25s ease;
}

/* Simple, Clean Hover Animation */
.job-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(0, 132, 255, 0.35) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5) !important;
}

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

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.job-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.3;
}

.job-type-badge {
  background: rgba(56, 189, 248, 0.12) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  white-space: nowrap;
}

.job-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
  color: var(--text-muted, #94a3b8) !important;
  font-weight: 500;
}

.job-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.job-salary-box {
  color: #60a5fa !important;
  font-weight: 700;
  font-size: 0.96rem;
  margin-bottom: 1.2rem;
  line-height: 1.45;
  background: rgba(0, 87, 255, 0.08);
  border: 1px solid rgba(0, 140, 255, 0.2);
  padding: 0.8rem 1.1rem;
  border-radius: 14px;
}

.job-desc {
  color: var(--text-muted, #cbd5e1) !important;
  font-size: 0.93rem;
  line-height: 1.65;
  margin-bottom: 1.8rem;
}

.job-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.job-vacancies {
  font-size: 0.85rem;
  color: var(--text-muted, #94a3b8) !important;
}

.job-vacancies strong {
  color: #ffffff !important;
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

.job-subtext {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45) !important;
}

.btn-apply {
  background: var(--gradient) !important;
  color: #ffffff !important;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 0.8rem 1.7rem;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 6px 20px rgba(0, 87, 255, 0.35) !important;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease !important;
  text-decoration: none;
  white-space: nowrap;
}

.btn-apply:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 10px 28px rgba(0, 87, 255, 0.5) !important;
}

/* Modal Popup Form Matching contact-form-card Format */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.85) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-card {
  background: #0d1226 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 24px !important;
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85) !important;
  transform: scale(0.95);
  transition: transform 0.3s var(--ease-out-expo);
  color: #f8fafc !important;
}

.modal-card::-webkit-scrollbar,
.modal-body::-webkit-scrollbar,
.modal-overlay::-webkit-scrollbar,
.modal::-webkit-scrollbar,
.service-modal::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-header {
  background: linear-gradient(135deg, rgba(0, 87, 255, 0.22), rgba(112, 0, 255, 0.18)), #090e24 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  padding: 1.6rem 2rem !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 20 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

.modal-title-box h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 0.2rem;
}

.modal-title-box p {
  font-size: 0.88rem;
  color: var(--text-muted, #94a3b8) !important;
  margin: 0;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease !important;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.modal-body {
  background: #0d1226 !important;
  padding: 2.2rem;
  color: #f8fafc !important;
}

.apply-field-group label {
  display: block !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.07em !important;
  margin-bottom: 0.5rem !important;
  color: rgba(229, 231, 235, 0.65) !important;
}

/* Contact Us style input fields with icon wrapper */
.apply-field-group input,
.apply-field-group select {
  width: 100% !important;
  background: #050814 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  font-size: 0.92rem !important;
  color: #ffffff !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
  box-sizing: border-box !important;
  padding: 0.85rem 1rem !important;
}

.apply-field-group .input-icon-wrapper input,
.apply-field-group .input-icon-wrapper select {
  padding-left: 2.8rem !important;
}

.apply-field-group .input-icon-wrapper i {
  position: absolute !important;
  left: 1.15rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: rgba(229, 231, 235, 0.45) !important;
  font-size: 1.1rem !important;
  pointer-events: none !important;
  transition: color 0.25s ease, transform 0.25s ease !important;
  z-index: 5 !important;
}

.apply-field-group .input-icon-wrapper:focus-within i {
  color: #38bdf8 !important;
  transform: translateY(-50%) scale(1.08) !important;
}

.apply-field-group input:focus,
.apply-field-group select:focus {
  outline: none !important;
  border-color: #0084ff !important;
  box-shadow: 0 0 0 3px rgba(0, 132, 255, 0.25) !important;
  background: #070c20 !important;
}

.apply-field-group input::placeholder {
  color: rgba(255, 255, 255, 0.35) !important;
}

/* Notice Period Pills */
.notice-pill {
  padding: 0.55rem 1.1rem !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: #cbd5e1 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.notice-pill.selected,
.notice-pill:hover {
  background: var(--gradient) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 15px rgba(0, 87, 255, 0.4) !important;
}

/* File Upload Box - Custom Overlay Style */
.file-upload-box {
  position: relative !important;
  background: rgba(0, 87, 255, 0.06) !important;
  border: 1.5px dashed rgba(0, 140, 255, 0.35) !important;
  border-radius: 14px !important;
  padding: 1.5rem 1.2rem !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
  overflow: hidden !important;
}

.file-upload-box:hover {
  background: rgba(0, 87, 255, 0.12) !important;
  border-color: #0084ff !important;
  box-shadow: 0 0 20px rgba(0, 132, 255, 0.15) !important;
}

.file-upload-input {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  cursor: pointer !important;
  z-index: 10 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.file-upload-label {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.6rem !important;
  font-weight: 700 !important;
  color: #60a5fa !important;
  font-size: 0.95rem !important;
  cursor: pointer !important;
  position: relative !important;
  z-index: 1 !important;
}

.file-name-display {
  font-size: 0.83rem !important;
  color: rgba(255, 255, 255, 0.6) !important;
  margin-top: 0.4rem !important;
  font-weight: 500 !important;
  position: relative !important;
  z-index: 1 !important;
}

.apply-submit-btn {
  grid-column: 1 / -1 !important;
  background: var(--gradient) !important;
  color: #ffffff !important;
  font-family: var(--font-display) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  padding: 1rem !important;
  border-radius: 12px !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 8px 24px rgba(0, 87, 255, 0.4) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  margin-top: 0.8rem !important;
}

.apply-submit-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px rgba(0, 87, 255, 0.55) !important;
}

/* Mobile Responsiveness for Modal & Form Header */
@media (max-width: 640px) {
  .modal-overlay {
    padding: 0.75rem !important;
  }

  .modal-card {
    border-radius: 18px !important;
    max-height: 92vh !important;
  }

  .modal-header {
    padding: 1rem 1.15rem !important;
    gap: 0.75rem !important;
  }

  .modal-title-box h3 {
    font-size: 1.15rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.15rem !important;
  }

  .modal-title-box p {
    font-size: 0.78rem !important;
    line-height: 1.25 !important;
    opacity: 0.85;
  }

  .modal-close-btn {
    width: 32px !important;
    height: 32px !important;
    font-size: 1.1rem !important;
    flex-shrink: 0 !important;
  }

  .modal-body {
    padding: 1.25rem 1.15rem 1.6rem 1.15rem !important;
  }

  .apply-field-group label {
    font-size: 0.75rem !important;
    margin-bottom: 0.35rem !important;
  }

  .apply-field-group input,
  .apply-field-group select {
    padding: 0.75rem 0.85rem !important;
    font-size: 0.88rem !important;
  }

  .apply-field-group .input-icon-wrapper input,
  .apply-field-group .input-icon-wrapper select {
    padding-left: 2.6rem !important;
  }

  .apply-field-group .input-icon-wrapper i {
    left: 0.95rem !important;
    font-size: 1rem !important;
  }
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  font-size: .82rem;
  color: rgba(255,255,255,.3);
  position: relative; z-index: 1;
}

/* ===========================
   PAGE HERO (inner pages)
   =========================== */
.page-hero {
  background: var(--gradient-aurora);
  color: #fff;
  padding: calc(var(--nav-h) + 2.25rem) 0 3.25rem;
  position: relative;
  overflow: hidden;
}

.page-hero .hero-bg { position: absolute; inset: 0; }

.page-hero-content {
  position: relative;
  z-index: 1;
  animation: fadeUpIn .85s var(--ease-out-expo) both;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 1.1rem;
}

.page-hero p {
  font-size: 1.12rem;
  color: rgba(255,255,255,.68);
  max-width: 560px;
  line-height: 1.72;
}

/* ===========================
   SERVICES PAGE
   =========================== */
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.service-detail-item {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2.25rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(20, 24, 33, 0.95), rgba(10, 12, 16, 0.95)) !important;
  align-items: stretch;
  transition: border-color .3s, box-shadow .3s, transform .3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45) !important;
}

.service-detail-item:hover {
  border-color: rgba(37, 99, 235, 0.25) !important;
  box-shadow: 0 20px 45px rgba(0, 87, 255, 0.12), 0 0 35px rgba(124, 58, 237, 0.05) !important;
  transform: translateY(-8px) scale(1.015);
}

.service-detail-icon {
  width: 100% !important;
  height: 260px !important;
  background: rgba(37, 99, 235, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 16px !important;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
  overflow: hidden !important;
  margin-bottom: 1.6rem !important;
}

.service-detail-item:hover .service-detail-icon img {
  transform: scale(1.08) !important;
}

.service-detail-text h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: .6rem;
  color: #ffffff;
}

.service-detail-text p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
  font-size: 0.92rem;
}

.service-features-list { display: flex; flex-wrap: wrap; gap: .5rem; }

.service-features-list span {
  background: rgba(0,87,255,.07);
  color: var(--accent);
  font-size: .78rem;
  font-weight: 600;
  padding: .3rem .85rem;
  border-radius: var(--radius-full);
}

/* ===========================
   PORTFOLIO PAGE
   =========================== */
.portfolio-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portfolio-filter { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.filter-btn {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: .5rem 1.25rem;
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .25s;
  font-family: var(--font-body);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(0,87,255,.25);
}

/* ===========================
   ABOUT PAGE
   =========================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  background: var(--gradient);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  box-shadow: var(--shadow-glow-lg);
  overflow: hidden; /* Ensure image fits rounded borders */
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.about-text p { color: var(--text-muted); line-height: 1.82; margin-bottom: 1.1rem; }

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

.value-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem;
  text-align: center;
  transition: transform .3s var(--ease-spring), box-shadow .3s;
}

.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-icon {
  width: 100% !important;
  height: 240px !important;
  margin: 0 0 1.5rem 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 24px rgba(0, 87, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.value-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  transition: transform .6s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.value-card:hover .value-icon {
  border-color: rgba(37, 99, 235, 0.4) !important;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25) !important;
}

.value-card:hover .value-icon img {
  transform: scale(1.08) !important;
}
.value-card h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.value-card p { color: var(--text-muted); font-size: .88rem; line-height: 1.65; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.team-card {
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease-spring), box-shadow .3s;
}

.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-photo { height: 180px; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; }
.team-info { padding: 1.3rem; }
.team-info h4 { font-family: var(--font-display); font-weight: 700; margin-bottom: .25rem; }
.team-info span { font-size: .82rem; color: var(--text-muted); }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-big {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label { color: var(--text-muted); font-size: .9rem; margin-top: .35rem; }

.mission-vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.mv-card { border-radius: var(--radius); padding: 2.75rem; border: 1px solid; }
.mv-card.mission { background: linear-gradient(135deg, #eff6ff, #dbeafe); border-color: rgba(0,87,255,.14); }
.mv-card.vision  { background: linear-gradient(135deg, #f5f3ff, #ede9fe); border-color: rgba(124,58,237,.14); }
.mv-card h3 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; margin: .85rem 0; }
.mv-card p { color: var(--text-muted); line-height: 1.78; }

/* ===========================
   CONTACT PAGE
   =========================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.contact-info-block h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin-bottom: 1rem; }
.contact-info-block > p { color: var(--text-muted); margin-bottom: 2.1rem; line-height: 1.72; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; }

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color .25s, transform .3s var(--ease-spring);
}

.contact-detail-item:hover { border-color: rgba(0,87,255,.2); transform: translateX(4px); }
.cd-icon { font-size: 1.2rem; }
.contact-detail-item strong { display: block; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: .2rem; }
.contact-detail-item span, .contact-detail-item a { font-size: .92rem; color: var(--text); }
/* Contact CTA */
.wa-btn {
  display: flex; align-items: center; justify-content: center; gap: .7rem;
  background: #25d366; color: #fff;
  font-family: var(--font-display); font-weight: 700;
  padding: 1rem 1.5rem; border-radius: var(--radius-sm);
  margin-top: 1.6rem;
  transition: opacity .2s, transform .3s var(--ease-spring), box-shadow .3s;
  border: none; cursor: pointer; width: 100%;
}

.wa-btn:hover { opacity: .92; transform: translateY(-3px); box-shadow: 0 8px 24px rgba(37,211,102,.3); }

.contact-form-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }

.contact-form-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  overflow: visible;
}

.contact-form-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.6rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; min-width: 0; }
.form-group { margin-bottom: 1.25rem; position: relative; min-width: 0; overflow: visible; }
.form-group label { display: block; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; margin-bottom: .5rem; color: var(--text-muted); }

/* --- Input Fields with Bootstrap Icons --- */
.input-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-icon-wrapper i {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(15, 23, 42, 0.45); /* default dark-ish theme friendly tint */
  font-size: 1.1rem;
  pointer-events: none;
  transition: color 0.25s ease, transform 0.25s ease;
  z-index: 5;
}

/* Specific styling for fields in contact page's dark form card */
body[data-page="contact"] .input-icon-wrapper i {
  color: rgba(229, 231, 235, 0.4) !important;
}

/* Adjust paddings of input fields inside input-icon-wrapper to prevent text overlap */
.input-icon-wrapper input,
.input-icon-wrapper select,
.input-icon-wrapper .custom-select__trigger {
  padding-left: 2.8rem !important;
}

.input-icon-wrapper textarea {
  padding-left: 2.8rem !important;
  padding-top: 1.15rem !important;
}

/* For textarea, align the icon near the top */
.input-icon-wrapper i.bi-chat-left-text {
  top: 1.15rem;
  transform: translateY(0);
}

/* Focus color change & scale effect */
.input-icon-wrapper:focus-within i {
  color: var(--accent, #2563eb);
  transform: translateY(-50%) scale(1.08);
}

/* Adjust transform for focused textarea icon so it doesn't move to middle */
.input-icon-wrapper:focus-within i.bi-chat-left-text {
  transform: translateY(0) scale(1.08);
}

body[data-page="contact"] .input-icon-wrapper:focus-within i {
  color: #60a5fa !important;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: .9rem 1.15rem;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .93rem;
  color: var(--text);
  outline: none;
  transition: border-color .25s, box-shadow .25s;
  box-sizing: border-box;
}

.form-group input.invalid,
.form-group textarea.invalid,
.custom-select__trigger.invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.25) !important;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(0,0,0,.35) 50%), linear-gradient(135deg, rgba(0,0,0,.35) 50%, transparent 50%);
  background-position: calc(100% - 1rem) center, calc(100% - 0.65rem) center;
  background-size: 7px 7px;
  background-repeat: no-repeat;
  position: relative;
  z-index: 2;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0,87,255,.1);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.map-placeholder {
  background: linear-gradient(135deg, #e0e7ff, #f3e8ff);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 400px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--text-muted);
  gap: .85rem;
  font-size: 1rem;
}

.map-icon { font-size: 3.2rem; }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 2000;
}

.modal-overlay.active { display: flex; }

.modal {
  width: min(460px, 100%);
  max-width: 95vw;
  background: #0a1123;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  color: #f8fafc;
  position: relative;
}

.modal h3 { font-family: var(--font-display); font-size: 1.45rem; margin-bottom: 1rem; }
.modal p { color: rgba(248,250,252,.8); margin-bottom: 1.5rem; }
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 38px; height: 38px; border: none; background: rgba(255,255,255,.08); color: #fff; border-radius: 50%; cursor: pointer; display: grid; place-items: center; font-size: 1.1rem;
}

/* Custom select dropdown */
.custom-select { position: relative; width: 100%; }
.custom-select .custom-select__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  padding: .85rem 1rem; border-radius: .6rem; background: #fff; color: #0b1220; border: 1px solid rgba(15,23,42,.06); cursor: pointer; font-family: var(--font-body);
}
.custom-select .custom-select__trigger span { flex: 1; text-align: left; }
.custom-select .custom-select__options {
  position: absolute; left: 0; right: 0; top: calc(100% + .5rem);
  background: #fff; border-radius: 8px; box-shadow: 0 12px 30px rgba(2,6,23,.35);
  max-height: 260px; overflow: auto; z-index: 3000; display: none;
}
.custom-select.open .custom-select__options { display: block; }
.custom-select__option { padding: .7rem 1rem; cursor: pointer; font-size: .95rem; color: #0b1220; }
.custom-select__option:hover { background: rgba(15,23,42,.03); }
.custom-select__option.disabled { opacity: .45; pointer-events: none; }
.custom-select__option.selected { background: #ff7a1a; color: #fff; }
.custom-select__options::-webkit-scrollbar { width: 8px; }
.custom-select__options::-webkit-scrollbar-thumb { background: rgba(2,6,23,.2); border-radius: 8px; }

body[data-page="contact"] .custom-select .custom-select__trigger {
  background: rgba(255,255,255,.03);
  color: #e5e7eb;
  border: 1px solid rgba(255,255,255,.06);
}
body[data-page="contact"] .custom-select .custom-select__trigger svg { color: #cbd5e1; }
body[data-page="contact"] .custom-select .custom-select__options {
  background: #06101a;
  border: 1px solid rgba(255,255,255,.04);
  box-shadow: 0 20px 60px rgba(2,6,23,.6);
  color: #e5e7eb;
  z-index: 5000;
}
body[data-page="contact"] .custom-select__option { color: rgba(229,231,235,.9); }
body[data-page="contact"] .custom-select__option:hover { background: rgba(255,255,255,.02); }
body[data-page="contact"] .custom-select__option.selected { background: linear-gradient(135deg,#2563eb,#8b5cf6); color: #fff; }
body[data-page="contact"] .custom-select .custom-select__trigger span { color: rgba(229,231,235,.9); }

body[data-page="contact"] .btn-outline {
  color: #fff !important;
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.03);
}
body[data-page="contact"] .btn-outline:hover,
body[data-page="contact"] .btn-outline:focus-visible {
  color: #1877F2 !important;
  border-color: #1877F2;
}
body[data-page="contact"] #openModalBtn {
  color: #fff !important;
}
body[data-page="contact"] #openModalBtn:hover,
body[data-page="contact"] #openModalBtn:focus-visible {
  color: #1877F2 !important;
}

@media (max-width: 768px) {
  .contact-form-header { flex-direction: column; align-items: stretch; }
  .modal { width: min(380px, 100%); padding: 1.5rem; }
  .contact-detail-item { flex-direction: column; align-items: center; text-align: center; }
  .contact-detail-item .cd-icon { margin-bottom: .6rem; display: grid; place-items: center; }
  .contact-detail-item > div { display: flex; flex-direction: column; align-items: center; }
}
@media (max-width: 425px) {
  .modal { width: 100%; max-width: 100%; padding: 1.25rem; border-radius: 18px; }
  .modal h3 { font-size: 1.2rem; }
  .contact-detail-item { gap: .6rem; padding: .8rem; }
  .contact-detail-item .cd-icon { width: 46px; height: 46px; }
}
@media (max-width: 375px) {
  .contact-detail-item { gap: .5rem; padding: .7rem; }
  .contact-detail-item .cd-icon { width: 44px; height: 44px; }
}
@media (max-width: 320px) {
  .contact-detail-item { gap: .4rem; padding: .6rem; }
  .contact-detail-item .cd-icon { width: 40px; height: 40px; }
}

.faq-item { border-bottom: 1px solid var(--border); }

.faq-q {
  width: 100%; text-align: left;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.3rem 0; color: var(--text);
  transition: color .2s;
}

.faq-q:hover { color: var(--accent); }
.faq-a { display: none; padding-bottom: 1.3rem; color: var(--text-muted); font-size: .92rem; line-height: 1.75; }
.faq-a.open { display: block; }
.faq-arrow { transition: transform .3s var(--ease-spring); }
.faq-arrow.open { transform: rotate(180deg); }

/* ===========================
   ANIMATIONS & KEYFRAMES
   =========================== */
@keyframes fadeUpIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes scrollPulse {
  0%, 100% { opacity: .3; }
  50%       { opacity: .8; }
}

@keyframes drift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(20px,-30px,0) scale(1.08); }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: .6; }
  50%       { transform: scale(1.15); opacity: .95; }
}

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

/* ===========================
   TYPOGRAPHY WEIGHT TUNING
   =========================== */
body,
p,
li,
a,
button,
span,
.section-sub,
.hero-sub,
.plan-desc,
.footer-brand p,
.footer-col ul li,
.footer-col ul a,
.contact-detail-item span,
.contact-detail-item a,
.testimonial-card > p,
.why-item p,
.value-card p,
.mv-card p,
.form-group input,
.form-group select,
.form-group textarea {
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6,
.logo,
.logo-text,
.hero-title,
.section-title,
.page-hero h1,
.cta-content h2,
.section-label,
.service-card h3,
.portfolio-info h3,
.plan-name,
.plan-price,
.popular-badge,
.why-item h4,
.testimonial-author strong,
.contact-info-block h3,
.contact-detail-item strong,
.faq-q,
.footer-col h4,
.value-card h4,
.team-info h4,
.mv-card h3,
.form-group label,
.mockup-hero-text {
  font-weight: 600;
}

.hero-title,
.section-title,
.page-hero h1,
.cta-content h2,
.stat strong,
.stat-big,
.plan-price,
.logo-text {
  font-weight: 700;
}

/* ===========================
   REDUCED MOTION
   =========================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .hero-orb-1, .hero-orb-2, .hero-orb-3 { animation: none; }
  .industry-pill { animation: none !important; }
  .scroll-line::after { animation: none; }
  .badge-dot { animation: none; }
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1200px) {
  .nav-inner { gap: 1.2rem; padding: 0 2rem !important; }
  .nav-links  { gap: 1.2rem; margin-right: 0 !important; }
  .hero-content { max-width: 700px; }
  .why-inner  { gap: 3.5rem; }
}

.mobile-cta-item { display: none !important; }

@media (max-width: 1024px) {
  :root { --section-pad: 2.8rem; }
  .nav-inner { gap: 0.8rem !important; padding: 0 1.5rem !important; }
  .nav-links { gap: 0.8rem !important; margin-right: 0 !important; }
  .nav-links a { font-size: 0.88rem !important; padding: 0.4rem 0.6rem !important; }
  .btn-nav { padding: 0.5rem 1rem !important; font-size: 0.85rem !important; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .why-inner  { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid  { grid-template-columns: repeat(2, 1fr); }
  .stats-row  { grid-template-columns: repeat(2, 1fr); }
  .mission-vision-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; row-gap: 1.2rem; }
  .testimonial-card { flex: 0 0 calc((100% - 1.5rem) / 2); min-width: calc((100% - 1.5rem) / 2); max-width: calc((100% - 1.5rem) / 2); }
}

@media (max-width: 991px) {
  /* Navbar Responsive: Show Hamburger Menu on Mobile and Tablet */
  .nav-links, .btn-nav { display: none !important; }
  .hamburger { display: flex !important; }

  .nav-links.open .mobile-cta-item {
    display: block !important;
  }

  .nav-links.open {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: var(--nav-h, 84px) !important;
    left: 0 !important;
    right: 0 !important;
    background: #050814 !important;
    padding: 1rem 1.5rem 1.6rem 1.5rem !important;
    gap: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    z-index: 9999 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important;
    max-height: calc(100vh - var(--nav-h, 84px)) !important;
    overflow-y: auto !important;
  }

  .nav-links.open li {
    width: 100% !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  }

  .nav-links.open li:last-child {
    border-bottom: none !important;
  }

  .nav-links.open a {
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.88) !important;
    padding: 0.85rem 0.4rem !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    background: transparent !important;
    border: none !important;
    transition: color 0.2s ease, padding-left 0.2s ease !important;
    text-decoration: none !important;
  }

  .nav-links.open a i {
    font-size: 1.1rem !important;
    color: #60a5fa !important;
  }

  .nav-links.open a:hover,
  .nav-links.open a.active {
    background: transparent !important;
    color: #38bdf8 !important;
    padding-left: 0.75rem !important;
    font-weight: 600 !important;
  }

  .nav-links.open a::after { display: none !important; }

  .nav-links.open .mobile-cta-btn {
    background: var(--gradient) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    justify-content: center !important;
    border-radius: 10px !important;
    padding: 0.85rem 1.2rem !important;
    margin-top: 0.8rem !important;
    border: none !important;
    box-shadow: none !important;
  }

  .nav-links.open .mobile-cta-btn:hover {
    padding-left: 1.2rem !important;
    opacity: 0.95 !important;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 70px;
    --section-pad: 2.2rem;
  }

  .logo-img,
  .navbar.scrolled .logo-img {
    height: 52px !important;
    max-height: 52px !important;
    max-width: 220px !important;
  }

  footer .logo-img,
  .footer .logo-img {
    height: 72px !important;
    max-height: 75px !important;
    max-width: 280px !important;
  }

  .service-icon-wrap,
  .service-detail-icon,
  .value-icon {
    height: 200px !important;
  }

  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }

  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 1rem); }
  .hero-content {
    padding-top: 1.6rem;
    padding-bottom: 2.8rem;
    align-items: center;
    text-align: center;
  }
  .hero-title { font-size: clamp(2.4rem, 8.5vw, 3.8rem); }
  .hero-sub { font-size: 1rem; }
  .hero-ctas {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost { width: 100%; justify-content: center; }
  .hero-stats {
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
  }
  .stat strong { font-size: 1.4rem; }
  .stat-div { display: none; }
  .hero-scroll { display: none; }

  .services-grid  { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .values-grid    { grid-template-columns: 1fr; }
  .portfolio-grid,
  .portfolio-page-grid { grid-template-columns: 1fr; }
  .portfolio-card.large { grid-row: auto; }
  .why-right      { grid-template-columns: 1fr; }
  .about-grid     { grid-template-columns: 1fr; }
  .contact-grid,
  .form-row       { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom  { flex-direction: column; gap: .5rem; text-align: center; }
  .service-detail-item { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .team-grid  { grid-template-columns: 1fr 1fr; }
  .stats-row  { grid-template-columns: 1fr 1fr; }
  .section-title br { display: none; }

  .testimonials-track { gap: 1rem; }
  .testimonial-card { flex: 0 0 100%; min-width: 100%; max-width: 100%; }
  .shape-ring, .shape-ring-inner, .shape-dot-cluster { display: none; }

  .cta-content { text-align: center; }
  .cta-actions { justify-content: center; }

  .portfolio-filter {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .5rem;
    margin-bottom: .5rem;
  }
  .portfolio-filter::-webkit-scrollbar { display: none; }
  .portfolio-filter .filter-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    min-width: max-content;
    padding: .5rem 1rem;
  }

  .scroll-top-btn { bottom: 1.25rem; right: 1.25rem; }
}
@media (max-width: 1440px) {
  .container { max-width: 1040px; }
  .contact-grid { gap: 3rem; }
  .contact-form-card { padding: 2.2rem; }
  .map-placeholder { height: 380px; }
}
@media (max-width: 1034px) {
  .container { max-width: 940px; }
  .contact-grid { gap: 2.5rem; }
  .contact-form-card { padding: 2rem; }
  .contact-detail-item { padding: .95rem 1rem; }
  .map-placeholder { height: 360px; }
}
@media (max-width: 768px) {
  .hero-title { font-size:clamp(2.2rem,8vw,3.5rem); }
  .hero-stats { gap:1.2rem; }
  .stat strong { font-size:1.3rem; }
  .services-grid, .testimonials-grid, .values-grid { grid-template-columns:1fr; }
  .portfolio-grid, .portfolio-page-grid { grid-template-columns:1fr; }
  .portfolio-card.large { grid-row:auto; }
  .why-right, .about-grid { grid-template-columns:1fr; }
  .contact-grid, .form-row { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; gap:2rem; }
  .footer-bottom { flex-direction:column; gap:.5rem; text-align:center; }
  .service-detail-item { grid-template-columns:1fr; }
  .hero-scroll { display:none; }
  .cta-content { text-align: center; }
  .cta-actions { flex-direction:column; align-items:stretch; text-align:center; }
  .team-grid { grid-template-columns:1fr 1fr; }
  .stats-row { grid-template-columns:1fr 1fr; }
  .contact-info-block,
  .contact-form-card,
  .map-placeholder,
  .faq-item { border-radius: 20px; }
  .contact-detail-item { flex-direction: column; align-items: stretch; }
  .contact-detail-item .cd-icon { width: 42px; height: 42px; }
  .map-placeholder { height: 340px; }
  .contact-detail-item { flex-direction: column; align-items: center; text-align: center; }
  .contact-detail-item .cd-icon { margin-bottom: .6rem; display: grid; place-items: center; }
  .contact-detail-item > div { display: flex; flex-direction: column; align-items: center; }
}
@media (max-width: 500px) {
  :root { --section-pad: 1.8rem; }
  .container { padding: 0 1.25rem; }
  .hero-content { padding-top: 2rem; padding-bottom: 4rem; }
  .hero-badge { font-size: .78rem; padding: .4rem .85rem .4rem .5rem; }
  .hero-title { font-size: clamp(1.95rem, 9.5vw, 2.8rem); }
  .hero-ctas { gap: .8rem; }
  .btn-primary,
  .btn-ghost,
  .btn-outline { width: 100%; justify-content: center; }
  .service-card,
  .pricing-card,
  .testimonial-card,
  .contact-form-card { padding: 1.5rem; }
  .portfolio-info { padding: 1rem 1.15rem; }
  .footer { padding: 3.5rem 0 1.75rem; }
  .team-grid  { grid-template-columns: 1fr; }
  .stats-row  { grid-template-columns: 1fr; }
  .why-right  { grid-template-columns: 1fr; }
}
@media (max-width: 425px) {
  .container { padding:0 1rem; }
  .contact-grid { gap: 1.8rem; }
  .contact-detail-item { gap: .75rem; padding: .85rem 1rem; }
  .contact-detail-item .cd-icon { width: 40px; height: 40px; }
  .form-group input, .form-group select, .form-group textarea { padding: .8rem 1rem; }
  .wa-btn { padding: .9rem 1rem; }
  .map-placeholder { height: 320px; }
  .faq-q { font-size: .95rem; }
}
@media (max-width: 375px) {
  .container { padding:0 .85rem; }
  .contact-grid, .form-row { gap: 1rem; }
  .contact-detail-item { padding: .8rem; }
  .map-placeholder { height: 300px; }
  .faq-q { font-size: .92rem; }
}
@media (max-width: 320px) {
  .container { padding:0 .6rem; }
  .section { padding:3rem 0; }
  .contact-form-card { padding: 1.5rem; }
  .contact-detail-item { padding: .75rem; }
  .wa-btn { padding: .85rem 1rem; font-size: .95rem; }
  .faq-q { font-size: .9rem; }
  .faq-a { font-size: .9rem; }
  .map-placeholder { height: 280px; }
}


